msxbuild/src/example/hello-make4msx/hello.mac

21 lines
200 B
Text
Raw Normal View History

title M80 MAKE Hello world
2021-07-06 03:52:02 +02:00
.Z80
WRITESTR EQU 9h
BDOS EQU 5h
ASEG
ORG 0100H
MAIN:
LD C,WRITESTR
LD DE,TXT_HELLO
CALL BDOS
RET
w
2021-07-06 03:52:02 +02:00
TXT_HELLO:
DB "MAKE: Hello MSX world...@ASM$"
2021-07-06 03:52:02 +02:00
END
DSEG