A86: djnz, jr and jp


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

A86: djnz, jr and jp




How do I enter the djnz,jr and jp commands on-calc? On the z80 op list I
got it lists the only djnz as 'DJNZ $+2' as command '10'. All the jr and
jp's are similar (with a $+something). I know I have to find out the mem
locations, but it's not like just doing 'CALL $D7AE'.

Also, after using that ReadAsm program a bit more, I wonder why the same
idea used to make that program can't be used to assemble (sort of).
Couldn't it be like you enter the program (using call/ld/ret/etc commands)
in the program editor. Then the program converts it to the hex codes.
Adding mem-tracing, or whatever would allow labels, would be harder, but it
doesn't seem that complicated. Stick a simple sprite editor in there and
use the AsmComp( command to compile for compression and faster execution.

Uh, yeah, sorry for rambling.

Dave