mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
15 lines
232 B
ArmAsm
15 lines
232 B
ArmAsm
;
|
|
; CC65 runtime: call function via pointer in ptr4
|
|
;
|
|
; 2018-02-28, Greg King
|
|
;
|
|
|
|
.export callptr4
|
|
.importzp ptr4
|
|
|
|
callptr4:
|
|
|
|
; The PC-Engine puts the zero-page at $2000.
|
|
|
|
jmp (ptr4 + $2000)
|