1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-04 17:04:58 +00:00
cc65/libsrc/geos-common/file/readbyte.s

18 lines
265 B
ArmAsm
Raw Normal View History

;
; Maciej 'YTM/Elysium' Witkowiak
;
; 25.12.1999, 2.1.2003
; char ReadByte (void);
.import __oserror
.export _ReadByte
.include "jumptab.inc"
_ReadByte:
jsr ReadByte
stx __oserror
ldx #0
rts