diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/example/cpc.asm | 22 | ||||
-rw-r--r-- | src/example/cpc.cdt | bin | 0 -> 34915 bytes |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/example/cpc.asm b/src/example/cpc.asm new file mode 100644 index 0000000..1490cf9 --- /dev/null +++ b/src/example/cpc.asm @@ -0,0 +1,22 @@ + ; Simple example CPC code + ; + ; To use: + ; + ; RUN "" + + option output-file,cpc.cdt + option output-format,cpc + option cpc-start,start + +start: org $8000 + + ld hl,msg +loop: + ld a,(hl) + ret z + call $bb5a + inc hl + jr loop + +msg: org $9000 + defb "Hello World",0 diff --git a/src/example/cpc.cdt b/src/example/cpc.cdt Binary files differnew file mode 100644 index 0000000..06bbcc0 --- /dev/null +++ b/src/example/cpc.cdt |