mirror of
https://github.com/thornAvery/jep-hack.git
synced 2025-09-16 18:20:50 +12:00
10 lines
164 B
NASM
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
|