mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-09-29 14:02:22 -04:00
e88fe24e15
This uses catch-all files like main.asm to reduce the total quantity and size of build objects (from 1.1 GB to 70 MB). --------- Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
18 lines
153 B
NASM
18 lines
153 B
NASM
Multiply::
|
|
push hl
|
|
push bc
|
|
callfar _Multiply
|
|
pop bc
|
|
pop hl
|
|
ret
|
|
|
|
Divide::
|
|
push hl
|
|
push de
|
|
push bc
|
|
homecall _Divide
|
|
pop bc
|
|
pop de
|
|
pop hl
|
|
ret
|