; Z80 Assembler - Hello World Example
; Writes "HELLO" to memory at 0x8000
ORG 0000H
DEST EQU 8000H
START: LD HL,MSG ; Point to message
LD DE,DEST ; Destination address
LD BC,5 ; 5 bytes to copy
LDIR ; Block copy
HALT ; Stop
MSG: DB "HELLO" ; Message data