mirror of
https://github.com/cc65/cc65.git
synced 2024-11-05 08:05:51 +00:00
22 lines
396 B
ArmAsm
22 lines
396 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2003-04-18
|
||
|
;
|
||
|
; unsigned char __fastcall__ ser_status (unsigned char* status);
|
||
|
; /* Return the serial port status. */
|
||
|
|
||
|
|
||
|
.importzp ptr1
|
||
|
|
||
|
.include "ser-kernel.inc"
|
||
|
|
||
|
|
||
|
.proc _ser_status
|
||
|
|
||
|
sta ptr1
|
||
|
stx ptr1+1 ; Save pointer to status
|
||
|
jmp ser_status ; Call the driver
|
||
|
|
||
|
.endproc
|
||
|
|
||
|
|