1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-11 01:05:25 +00:00
cc65/libsrc/serial/ser_open.s

25 lines
444 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 2003-08-22
;
; unsigned char __fastcall__ ser_open (const struct ser_params* params);
; /* "Open" the port by setting the port parameters and enable interrupts. */
.importzp ptr1
.include "ser-kernel.inc"
.proc _ser_open
sta ptr1
stx ptr1+1 ; Save pointer to params
jmp ser_open ; Call the driver
.endproc