msxbuild/test/ahello-m80/ahello.mac

21 lines
190 B
Plaintext
Raw Normal View History

2021-07-06 01:52:02 +00:00
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