mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
21 lines
298 B
ArmAsm
21 lines
298 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2004-10-06
|
||
|
;
|
||
|
; int __fastcall__ putchar (int c);
|
||
|
;
|
||
|
|
||
|
.export _putchar
|
||
|
.import _stdout
|
||
|
.import _fputc
|
||
|
|
||
|
|
||
|
.code
|
||
|
|
||
|
_putchar:
|
||
|
lda #<_stdout
|
||
|
ldx #>_stdout
|
||
|
jmp _fputc ; __fastcall__ function
|
||
|
|
||
|
|
||
|
|