google.com, pub-4617457846989927, DIRECT, f08c47fec0942fa0 Learn to enjoy every minute of your life.Only I can change my life.: Write an assembly program for 8085 microprocessor to find greatest between two numbers

Saturday, December 28, 2019

Write an assembly program for 8085 microprocessor to find greatest between two numbers


Write an assembly program for 8085 microprocessor to find greatest between two numbers

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

No comments:

Post a Comment

रामायण

रामायण दशरथ की तीन पत्नियाँ – कौशल्या, सुमित्रा , कैकेयी दशरथ के चार पुत्र – राम,लक्ष्मण,भरत,शत्रुघ्न दशरथ: राम के पिता और कौशल के राजा कौशल...