mirror of
https://github.com/cc65/cc65.git
synced 2024-11-02 18:06:48 +00:00
20 lines
277 B
ArmAsm
20 lines
277 B
ArmAsm
;
|
|
; unsigned char __fastcall__ toascii (unsigned char c);
|
|
; /* Convert a target specific character to ascii */
|
|
;
|
|
|
|
.export _toascii
|
|
|
|
.proc _toascii
|
|
|
|
; Clear the inverse video bit
|
|
and #$7F
|
|
|
|
; X must be zero on return
|
|
ldx #0
|
|
|
|
; Done!
|
|
rts
|
|
|
|
.endproc
|