Added M80 example

This commit is contained in:
Willem Cazander 2021-07-06 03:52:02 +02:00
parent 656c3436da
commit 6cec28f1bc
13 changed files with 110 additions and 77 deletions

View 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