Author: chickendude
Posted: 30 Nov 2012 08:56:55 pm (GMT -5)
I don't think 16-bit inc/dec's set the flags, though. To compare 16-bit registers you'll have to use the sbc instruction with hl, just make sure the carry is reset.
Posted: 30 Nov 2012 08:56:55 pm (GMT -5)
I don't think 16-bit inc/dec's set the flags, though. To compare 16-bit registers you'll have to use the sbc instruction with hl, just make sure the carry is reset.