ack/mach/6500/libem/indir.s

14 lines
288 B
ArmAsm
Raw Normal View History

1984-12-17 11:03:13 +00:00
.define Indir
! This subroutine performs an indirect procedurecall.
! This must be done this way since the jump instruction
! is the only one which can indirect change the programcounter.
! The address of the function must be in zeropage loactions
! ADDR, ADDR+1.
Indir:
jmp (ADDR)