Added M80 example
This commit is contained in:
parent
656c3436da
commit
6cec28f1bc
13 changed files with 110 additions and 77 deletions
20
test/ahello-m80/ahello.mac
Normal file
20
test/ahello-m80/ahello.mac
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
title M80 CP/M Hello world
|
||||
.Z80
|
||||
|
||||
WRITESTR EQU 9h
|
||||
BDOS EQU 5h
|
||||
|
||||
ASEG
|
||||
ORG 0100H
|
||||
|
||||
MAIN:
|
||||
LD C,WRITESTR
|
||||
LD DE,TXT_HELLO
|
||||
CALL BDOS
|
||||
RET
|
||||
|
||||
TXT_HELLO:
|
||||
DB "M80: Hello world...$"
|
||||
|
||||
END
|
||||
DSEG
|
||||
Loading…
Add table
Add a link
Reference in a new issue