; cpu: Z80 ; Display "HELLO WORLD" in MZ-700 ; define monitor subroutine LETNL EQU 0006h MSG EQU 0015h ORG 1200h ; start CALL LETNL ; newline LD DE,MSGDT0 CALL MSG ; display "HELLO WORLD" CALL LETNL LD DE,MSGDT1 ; display "IN MZ-700" CALL MSG RET MSGDT0: DB "- HELLO WORLD -" DB 0Dh MSGDT1: DB "- IN MZ-700 -" DB 0Dh END