Assembly language programming

Write an 8085 assembly language program to add two 8-bit numbers stored in memory locations 2050H and 2051H. Store result in location 2052H. 


  1. LDA 2050; load accumulator from memory location 2050
  2. LXI H 2051; load 16 bit address in HL register with
  3. ADC M; add accumulator with M[HL]
  4. STA 2052; store accumulator data to memory location 2052
  5. HLT; halt program

Post a Comment

0 Comments