Hi so that worked!
Code:
MOV A,#0
LJMP @A+DPTR
Yay, Muchos Gracias!
Two other places I need variability is in an ORG instr and a GLOBAL instr. Im not quite sure what this GLOBAL instr does... declares a global variable?
my inline asm is looking like this currently:
Code:
#asm
GLOBAL _ext1isr
PSECT vectors,ovrld
ORG 0x34
MOV A,#0
LJMP @A+DPTR
PSECT text
#endasm
I want to be able to vary the ORG address and the address used for GLOBAL
something like ORG @B and GLOBAL @DPTR...
EDIT: what I THINK might be happening in the asm code currently is that the two instr.s MOV and LJUMP are placed in code memory at the location 0x34