I started programming an emulator for the Gameboy classics, my next project after a successful Chip 8 emulator.
As a reference, I use the GameBoy Processor Guide .
Now on page 66 it says:
LD A,(HL) 7E 8
Basically, load the HL value into register A.
However, as I understand it, this will load the 16-bit HL value into the 8-bit register A. This, of course, is not suitable.
Do you have any idea how to understand this? All other links are just simple tables without explanation, but they say the same thing.
Thank you for your responses!
source share