include irvine32.inc
.data
istno db "enter ist no",0
2nd db "enter second no",0
lagest db "largest no",0
.code
main proc
mov edx,offset istno
call writestring
call readint
call crlf
mov bx,ax
mov edx,offset 2nd
call writestring
call readint
call crlf
jg loop
loop;
mov edx,offset lagest
call writestring
call writeint
main endp
end main
assembly program to find the greatest of between two numbers is as follows:
Program
MVI B, 30H
MVI C, 40H
MOV A, B
CMP C
JZ EQU
JC GRT
OUT PORT1
HLT
EQU: MVI A, 01H
OUT PORT1
HLT
GRT: MOV A, C
OUT PORT1
HLT
(include iostream....blah blah)
int myVariable; // integer my variable
int myVariable2;
cout << "Please enter a number" << endl;
cin >> myVariable;
cout << "Please enter the second number:" << endl;
cin >> myVariable2;
if (myVariable > myVariable2){
cout << "The first number was greater than the second number" << endl;
}
else
cout << "The second number was greater than the first" << endl;
return 0;
}
The point of the program is to get two numbers, compare them, and tell the user which one is greater.
program that take three decimal number as input and find the largest among them in assembly language
Assembly langue is translated into machine language by an assembler.
An assembly program is a machine-dependent program written in a low-level symbolic code known as assembly language.
use of reserved word in assembly language
How to write the program un Assembly language to set a password for personal computers?
write an assembly language program to find sum of N numbers
program that take three decimal number as input and find the largest among them in assembly language
fish
A program which is used to count the number of numbers in an array using a 8085 microprocessor is known as a assembly language program.
Assembly langue is translated into machine language by an assembler.
an assembly language program of traffic light
An assembly program is a machine-dependent program written in a low-level symbolic code known as assembly language.
use of reserved word in assembly language
How to write the program un Assembly language to set a password for personal computers?
write program to concatenating two sting in 8086 assembly language
You need an 8086 assembly language pencil.
The only translation program that converts assembly language to machine code is an assembler.