⬡ Z80 ASM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; 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
Press ▶ ASSEMBLE or Ctrl+Enter
Write Z80 assembly on the left, get machine code on the right.
Ln 1, Col 1Ready — Press Ctrl+Enter to assembleRemix on Berrry