Print itself: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) No edit summary |
Puppydrum64 (talk | contribs) m (added output and fixed formatting) |
||
Line 174: | Line 174: | ||
</pre> |
</pre> |
||
{{header|Z80 Assembly}} |
=={{header|Z80 Assembly}}== |
||
This program prints its bytecode as text to the Amstrad CPC terminal. The program is run by typing <code>call &1000</code> to the screen. |
This program prints its bytecode as text to the Amstrad CPC terminal. The program is run by typing <code>call &1000</code> to the screen. |
||
<lang z80>org &1001 |
<lang z80>org &1001 |
||
Line 227: | Line 227: | ||
db 0 ;null terminator. No instructions or operands above compile to &00. </lang> |
db 0 ;null terminator. No instructions or operands above compile to &00. </lang> |
||
{{out}} |
|||
[https://ibb.co/KbzjpNQ Output on WinAPE] |