summaryrefslogtreecommitdiff
path: root/src/ubox/ubox_read_vm.z80
blob: 7ef0f41c7f97f6687ef026623dac3d26578c436d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.globl _ubox_read_vm

LDIRMV = 0x0059

_ubox_read_vm::
	ld hl, #2
	add hl, sp

	ld e, (hl)
	inc hl
	ld d, (hl)
	inc hl
	ld c, (hl)
	inc hl
	ld b, (hl)
	inc hl
	ld a, (hl)
	inc hl
	ld h, (hl)
	ld l, a

	jp LDIRMV