summaryrefslogtreecommitdiff
path: root/home/math.asm
blob: c9d9f5c5b52efea3e38a6c05502ab76e918ae3a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
include "constants.asm"

SECTION "home/math.asm", ROM0

Multiply::
	push hl
	push bc
	callab _Multiply
	pop bc
	pop hl
	ret

Divide::
	push hl
	push de
	push bc
	homecall _Divide
	pop bc
	pop de
	pop hl
	ret