----- candida lopez rodriguez wrote: > > I need to obtain the PC address (one of the commands that I want to have is > dump the registers). My problem is that I can not see a way to obtain the PC, > > I can set it using HL but I do not have a way to obtain its value. There is a > way to do so
You can add it to hl: ld hl,0 add hl,sp Randy
------------------------------------------------------------------------------
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user