Sha256: 80a58afd0d6ebbd29390e5f6e8779e694fff5bdeae92ca7dfcaab3418bfa3308

Contents?: true

Size: 223 Bytes

Versions: 10

Compression:

Stored size: 223 Bytes

Contents

Using the Amstrad CPC firmware:

org		$4000

txt_output:	equ	$bb5a

		push	hl
		ld	hl,world

print:		ld	a,(hl)
		cp	0
		jr	z,end
		call	txt_output
		inc	hl
		jr	print

end:		pop	hl
		ret

world:		defm	"Hello world!\r\n\0"

Version data entries

10 entries across 7 versions & 1 rubygems

Version Path
zettacode-0.1.7 files.zettacode/hello_world.text/z80_assembly.txt
zettacode-0.1.6 files.zettacode/hello_world.text/z80_assembly.txt
zettacode-0.1.6 files.zettacode2/hello_world.text/z80_assembly.txt
zettacode-0.1.5 files.zettacode/hello_world.text/z80_assembly.txt
zettacode-0.1.5 files.zettacode2/hello_world.text/z80_assembly.txt
zettacode-0.1.4 files.zettacode/hello_world.text/z80_assembly.txt
zettacode-0.1.4 files.zettacode2/hello_world.text/z80_assembly.txt
zettacode-0.1.3 files.zettacode/hello_world.text/z80_assembly.txt
zettacode-0.1.2 files.zettacode/hello_world.text/z80_assembly.txt
zettacode-0.1.1 zettacode.files/hello_world.text/z80_assembly.txt