msxbuild/test/ahello-m80/ahello.mac

24 lines
219 B
Plaintext
Raw Permalink 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
2024-06-23 17:07:39 +00:00
NOP_BOMB:
NOP
JP NOP_BOMB
2021-07-06 01:52:02 +00:00
RET
TXT_HELLO:
DB "M80: Hello world...$"
END
DSEG