i have the code below:
Code: Select all
bdos equ 5
;
putstr equ 9
;
org 100h
public _main
_main:
ld c, putstr
ld de, hello
call bdos
ret
;
hello: db "Hello World!$",13,10
Code: Select all
zcc.exe -v +cpm hello.asm -ohello.com
but with this command line:
Code: Select all
z88dk-z80asm.exe -v -mz80 hello.asm -ohello.com
Thanks.
it compil but nothing happens, it goes back to the CPM prompt