1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-31 20:06:11 +00:00
cc65/libsrc/cbm/c_chkin.s

18 lines
321 B
ArmAsm

;
; Marc 'BlackJack' Rintsch, 20.03.2001
;
; unsigned char __fastcall__ cbm_k_chkin (unsigned char FN);
;
.export _cbm_k_chkin
.import CHKIN
_cbm_k_chkin:
tax
jsr CHKIN
ldx #0 ; Clear high byte
bcs @NotOk
txa
@NotOk: rts