Would you give me a 8085 microprocessor program to convert hexadecimal number to binary number?

1 answer

Answer

1267392

2026-07-29 19:45

+ Follow

  • LXI H, 4150 : Initialize memory pointer
  • MVI B, 08 : count for 8-bit
  • MVI A, 54
  • LOOP : RRC
  • JC LOOP1
  • MVI M, 00 : store zero it no carry
  • JMP COMMON
  • LOOP2: MVI M, 01 : store one if there is a carry
  • COMMON: INX H
  • DCR B : check for carry
  • JNZ LOOP
  • HLT : Terminate the program

ReportLike(0ShareFavorite

Related Questions

Copyright © 2026 eLLeNow.com All Rights Reserved.