Gitiles
Code Review
Sign In
pulkomandy.tk
/
contiki-1.x
/
df6b0dd2c6aa3ab981c025e54b15e468cd74ee53
/
.
/
contiki-cpc
/
arch
/
putchar.s
blob: 91e42af6ad644a8299e2d0c451fce335d568a10b [
file
] [
log
] [
blame
]
;;
File
:
putchar.s
;;
Modified to suit execution on the Amstrad CPC
;;
by H. Hansen
2003
;;
Original lines has been marked out
!
.area _CODE
_putchar
::
ld hl
,
#2
add hl
,
sp
ld a
,(
hl
)
ld bc
,
#0xef00
out
(
c
),
c
or
#0x80
out
(
c
),
a
ret