I know that there are 7 general purpose registers( A,B,C,D,E,H and L). I am told that F is missing as F is said to be corresponding to flag register but I am not able to understand why they left out G. This has nothing to do with anything technical just a curiosity.

  • 1
    $\begingroup$ Probably because G looks like C. Would avoid confusion on handwritten code. $\endgroup$ Commented May 13, 2023 at 23:48
  • $\begingroup$ it looks like the 8-bit registers are paired ... A&flags, BC, DE ... FG would also be a pair, but F is paired with A, so no room for G $\endgroup$
    – jsotola
    Commented May 14, 2023 at 2:38

1 Answer 1


Wikipedia's Intel 8085 article suggests to me that H and L are not the same type of register. Instead H and L appear to refer to the High and Low bytes of the 16-bit indirect address.

Main registers
A   Flags   Program Status Word
B   C
D   E
H   L       (indirect address)
  • $\begingroup$ Yes thanks. I think it makes quite a lot of sense to leave G in this case. $\endgroup$ Commented May 16, 2023 at 21:16
  • $\begingroup$ ...and there are a few other instructions that use H and L together as if they were a single 16-bit register, such as LHLD and SHLD. $\endgroup$ Commented May 17, 2023 at 16:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.