]> git.sur5r.net Git - cc65/blob - libsrc/cbm/c_ckout.s
goto.c warning fix for implicit truncation
[cc65] / libsrc / cbm / c_ckout.s
1 ;
2 ; Ullrich von Bassewitz, 03.06.1999
3 ;
4 ; unsigned char __fastcall__ cbm_k_ckout (unsigned char FN);
5 ;
6
7         .include        "cbm.inc"
8
9         .export         _cbm_k_ckout
10
11
12 _cbm_k_ckout:
13         tax
14         jsr     CKOUT
15         ldx     #0              ; Clear high byte
16         bcs     @NotOk
17         txa
18 @NotOk: rts