in Education by
Assembly language porgram to find positive or negative and take values from user Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
org 100h .data msg1 db 10,13,’Positive Sign ′;msg2db10,13,′NegativeSign ’; .code mov ax,@data; mov ds,ax; xor ax,ax; mov ax,15; cmp ah,0;positive is start with 0 bit and negative by 1 bit in reg je positive; mov ah,09h; mov dx,offset msg2; int 21h; jmp exit; positive: mov ah,09h; mov dx,offset msg1; int 21h; jmp exit; exit: mov ah,04ch; int 21h ret

Related questions

0 votes
    Mathematical function to check whether a number is positive or negative in c# Select the correct answer from above options...
asked Dec 20, 2021 in Education by JackTerrance
0 votes
    write a program to check whether the entered number is positive or negative or zero Select the correct answer from above options...
asked Dec 17, 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
    60. “What do you think”?Recognise the type of sentence. (A) optative (B) negative (C) positive (D) interrogative Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    60. “What do you think”?Recognise the type of sentence. (A) optative (B) negative (C) positive (D) interrogative Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    60. “What do you think”?Recognise the type of sentence. (A) optative (B) negative (C) positive (D) interrogative Select the correct answer from above options...
asked Nov 25, 2021 in Education by JackTerrance
0 votes
    WAP in java to input 2 numbers from user and print their difference (Always Positive). Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Write and run (using appropriate calling program) a near procedure in 8086 assembly language that checks if the input ... AL register. Select the correct answer from above options...
asked Dec 31, 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
    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
    1. Take length and breadth of the rectangle from user and calculate the area of rectangle and print the area in ... box. Your answer Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    The value from positive to negative peak of the sine wave is called? (a) effective value (b) average value (c) ... for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked Oct 19, 2021 in Education by JackTerrance
0 votes
    Write a program to accept string from user and search a given character from string without using find() function Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    Write a program in Java to find the area and perimeter of a right- angled triangle by using function ... inputs. angled triangle Select the correct answer from above options...
asked Dec 7, 2021 in Education by JackTerrance
...