1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
cc65/libsrc/cbm/c_ckout.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
293 B
ArmAsm

;
; Ullrich von Bassewitz, 03.06.1999
;
; unsigned char __fastcall__ cbm_k_ckout (unsigned char FN);
;
.export _cbm_k_ckout
.import CKOUT
_cbm_k_ckout:
tax
jsr CKOUT
ldx #0 ; Clear high byte
bcs @NotOk
txa
@NotOk: rts