in Education by
Write and run (using appropriate calling program) a near procedure in 8086 assembly language that checks if the input parameter has a value zero or not. If the value is zero subroutines terminates the program else returns a value 1 in AL register. Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
“DATA SEGMENT MSG1 DB 10,13,”ENTER ANY ASCII VALUE : $” MSG2 DB 10,13,”PRINTING AL VALUE : $” DATA ENDS CODE SEGMENT ASSUME DS:DATA,CS:CODE START: MOV AX,DATA MOV DS,AX LEA DX,MSG1 MOV AH,9 INT 21H CALL PRINT_AL MOV AH,4CH INT 21H CODE ENDS PRINT_AL PROC NEAR MOV AH,1 INT 21H MOV BL,AL The whole concept of this question will follow the following text: LEA DX,MSG2 MOV AH,9 INT 21H MOV DL,BL MOV AH,2 INT 21H RET PRINT_AL ENDP END START”

Related questions

0 votes
    Write a program in 8086 to move hundred bytes of data from the offset address 3000H in the segment 4000H Select the correct answer from above options...
asked Dec 20, 2021 in Education by JackTerrance
0 votes
    1. language is the only language that a computer understands. 2. Assembly language is regarded as the generation ... into machine lahy Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Differentiate High-level language, Assembly language, and Machine level language? Select the correct answer from above options...
asked Dec 11, 2021 in Education by JackTerrance
0 votes
    Assembly language porgram to find positive or negative and take values from user Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Symbol used in assembly language are known as high level language true or false Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    Python is a Procedure Oriented Programming Language true or false Select the correct answer from above options...
asked Dec 6, 2021 in Education by JackTerrance
0 votes
    Python is a Procedure Oriented Programming Language true or false Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    Python is a Procedure Oriented Programming Language true or false Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    2. Write appropriate technical terms for the following statements. i) The device which connects two different ... network traffics. Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    How many times is the word ‘ADITYA’ printed in the following statements? S=’RATHEESH BARATHI’ for ch in S[3:10]: print(‘ADITYA’) Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    Plzz give me solution of ch 1 number system of it apps class 7 . Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    Write the name of any two fonts that can be used to type in punjabi language . 1. Anmallipi 2. Joy 3. Raavi 4. Arial Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    Write a simple procedure for creating crystal report. Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    write a program to input a number and print table of the number using while loop Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Write a JAVA program to store the temperature in Celsius and convert it into Fahrenheit using the following formula ... INPUT METHOD Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
...