wdc-utils/samples/hello4.asm

30 lines
275 B
NASM
Raw Normal View History

2017-01-12 17:27:32 +00:00
;
; 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