mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-09-30 22:17:35 -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>
9 lines
104 B
NASM
9 lines
104 B
NASM
SubtractAbsolute:: ; unreferenced
|
|
; Return |a - b|, sign in carry.
|
|
sub b
|
|
ret nc
|
|
cpl
|
|
add 1
|
|
scf
|
|
ret
|