A82: Couple Z80 command questions


[Prev][Next][Index][Thread]

A82: Couple Z80 command questions




Ok, time for a few elementary questions. What do these do:
neg
scf

Another question:

Harper used this:
 ld hl,timer
 inc (hl)

to equal this:
 ld a,(timer)
 inc a
 ld (timer),a

   Does the first way work? It doesn't seem like it should because hl 
isn't loaded back into the variable. Also can HL be used set a z-flag?
   Sam


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Follow-Ups: