Z80 Code Golf
Problems
See
anarchy golf
.
Execution in emulator
All registers and memory are cleared by 0.
Program is loaded from 0000H, and run from it.
Execute `HALT' when you want to terminate program.
System Call
Address
Name
Function
In
Out
8000H
#PUTCHAR
Output character to stdout
A: ASCII code
none
8003H
#GETCHAR
Input character from stdin
none
A: ASCII code, Carry Flag: EOF
Memory mapping
0000H-7FFFH
Free area
8000H-
System area
-0FFFFH
Stack area
I/O port, Interrupt
No use.
Test
test page
Home