Jump to content

GB Programming: Difference between revisions

m
>ISSOtm
(Continued the page. Man, it's been a long time (in galaxy far, far away...))
>Flandre Scarlet
Line 448:
To access the memory location pointed to by HL, just do... (hl)! It's the same with BC and DE.
 
So, to retrieve the value at memory address $56116511 into register A : ''ld a, ($6511)''
 
And to store the value of register C into the memory pointed to by HL : ''ld (hl), c''
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.