1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-22 12:30:41 +00:00
cc65/libsrc/cbm/c_open.s

17 lines
274 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 03.06.1999
;
; unsigned char __fastcall__ cbm_k_open (void);
;
.export _cbm_k_open
.import OPEN
_cbm_k_open:
jsr OPEN
bcs @NotOk
lda #0
@NotOk: ldx #0 ; Clear high byte
rts