ISSOtm / gb-asm-tutorial-old

An online Game Boy assembly programming tutorial
https://eldred.fr/gb-asm-tutorial/
54 stars 10 forks source link

A typo in the ASM listing comment (Intermediate/The Stack) #10

Closed BlackMATov closed 5 years ago

BlackMATov commented 5 years ago
; Point hl to the stack, with a signed 8-bit offset
ld hl, sp+4

8-bit?

ISSOtm commented 5 years ago

Yes, the offset added to sp is a signed 8-bit offset.

BlackMATov commented 5 years ago

Oh, sorry! I read it as an offset of 8 bites (from the stack pointer)