Monday, 18 July 2016

Write a program in assembly language(8085) wheather a number is even or odd.


.ORG  0100H
MVI  A, 10111110B
RRC
JC L1
MVI B, 00B
JMP L2
L1:MVI B, 01B
L2:HLT

No comments:

Post a Comment

Popular Posts