A86: Need more help


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

A86: Need more help




Sorry to have posted so many "I need help"-ish posts, but as I'm really new
to asm, everything seems longer than it should, at least in comparison to
other languages I've ever programmed.  Thus, I just have one quick question.
If I wanted to add a number (say, 6) to the E register, is there a faster
way than this to do it?

 ld a,e         ;\
 add a,6      ; >Adds 6 to e
 ld e,a         ;/

Thanks very much

Chris Remo




Follow-Ups: