]> git.sur5r.net Git - cc65/blob - libsrc/serial/ser_status.s
Only for jumps, the lib uses named asm labels in branches
[cc65] / libsrc / serial / ser_status.s
1 ;
2 ; Ullrich von Bassewitz, 2003-04-18
3 ;
4 ; unsigned char __fastcall__ ser_status (unsigned char* status);
5 ; /* Return the serial port status. */
6
7
8         .importzp       ptr1
9
10         .include        "ser-kernel.inc"
11
12
13 .proc   _ser_status
14
15         sta     ptr1
16         stx     ptr1+1                  ; Save pointer to status
17         jmp     ser_status              ; Call the driver
18
19 .endproc
20
21