wdc-utils/samples/hello4.asm
Kelvin Sherlock 11bce44253 more samples
2017-01-12 12:27:32 -05:00

30 lines
275 B
NASM

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