1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
cc65/libsrc/cbm/c_chkin.s
uz 23dae5a04b Fixed two more function that didn't clear the high byte of the function result.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4049 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-08-23 21:40:36 +00:00

18 lines
296 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