Friday, August 17, 2018

8085 microprocessor program

write an assemble language program to add two 8-bit data 32H and 44H store result at 2050H  in 8085 microprocessor.

 Solution :
     program                                                                     Comments
    MVI A 32H                                                            -load first data into A
   MVI B 44H                                                             - load second data into B
  ADD B                                                                     -add the two data
   STA 2050H                                                              - store result
  HLT                                                                            -stop

No comments:

Post a Comment

huhiuh