1985-07-26 11:56:24 +00:00
|
|
|
.define .putchar
|
1987-01-16 16:49:46 +00:00
|
|
|
.sect .text
|
|
|
|
.sect .rom
|
|
|
|
.sect .data
|
|
|
|
.sect .bss
|
|
|
|
.sect .text
|
1985-07-26 11:56:24 +00:00
|
|
|
|
1987-01-16 16:49:46 +00:00
|
|
|
.sect .text
|
1985-07-26 11:56:24 +00:00
|
|
|
|
|
|
|
.putchar:
|
|
|
|
save [r0, r1, r2, r3]
|
|
|
|
movqd 4, r0
|
|
|
|
addr 20(sp), r1
|
|
|
|
movqd 1, r2
|
|
|
|
xord r3, r3
|
|
|
|
svc
|
|
|
|
restore[r0,r1,r2,r3]
|
|
|
|
ret 1
|