1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-03 10:07:02 +00:00
cc65/libsrc/cbm/c_open.s

18 lines
282 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 03.06.1999
;
; unsigned char cbm_k_open (void);
;
.include "cbm.inc"
.export _cbm_k_open
_cbm_k_open:
jsr OPEN
ldx #0 ; Clear high byte
bcs @NotOk
txa
@NotOk: rts