mirror of
https://github.com/cc65/cc65.git
synced 2024-11-02 18:06:48 +00:00
22 lines
263 B
ArmAsm
22 lines
263 B
ArmAsm
|
|
||
|
;
|
||
|
; Maciej 'YTM/Alliance' Witkowiak
|
||
|
;
|
||
|
; 11.03.2000
|
||
|
|
||
|
.import popa, popax
|
||
|
.export getintcharint
|
||
|
|
||
|
.include "../inc/geossym.inc"
|
||
|
|
||
|
getintcharint:
|
||
|
sta r11L
|
||
|
stx r11H
|
||
|
jsr popa
|
||
|
sta r1H
|
||
|
jsr popax
|
||
|
sta r0L
|
||
|
stx r0H
|
||
|
rts
|
||
|
|