mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
5a593b8105
git-svn-id: svn://svn.cc65.org/cc65/trunk@4477 b7a2c559-68d2-44c3-8de9-860c34a00d81
20 lines
252 B
ArmAsm
20 lines
252 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
|