21 lines
190 B
Plaintext
21 lines
190 B
Plaintext
|
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
|