wdc-utils/samples/hello3.asm

29 lines
240 B
NASM

;
; 2-segment, 2 module code.
;
include 'hello.macros'
macdelim {
module code
CODE
extern text
pea #^text
pea #text
_WriteLine
rtl
ends
endmod
module data
KDATA
public text
text
pstr {'hello, world'}
ends
endmod