pokecrystal-board/home/sine.asm
Rangi c3c18dd196 Comment more ROM labels as unreferenced
(Some unreferenced labels are above code which is still used via fallthrough!)
2020-06-21 18:33:31 -04:00

10 lines
164 B
NASM

Cosine:: ; unreferenced
; a = d * cos(a * pi/32)
add %010000 ; cos(x) = sin(x + pi/2)
; fallthrough
Sine::
; a = d * sin(a * pi/32)
ld e, a
homecall _Sine
ret