mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
20 lines
207 B
ArmAsm
20 lines
207 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 03.06.1999
|
||
|
;
|
||
|
; unsigned __fastcall__ cbm_open (void);
|
||
|
;
|
||
|
|
||
|
.include "cbm.inc"
|
||
|
|
||
|
.export _cbm_open
|
||
|
|
||
|
_cbm_open:
|
||
|
jsr OPEN
|
||
|
ldx #0
|
||
|
bcc @Ok
|
||
|
inx
|
||
|
rts
|
||
|
@Ok: txa
|
||
|
rts
|
||
|
|