summaryrefslogtreecommitdiff
path: root/home/sine.asm
diff options
context:
space:
mode:
authorThomas Winwood <twwinwood@gmail.com>2018-07-21 02:06:31 +0100
committerGitHub <noreply@github.com>2018-07-21 02:06:31 +0100
commit23ef2f50a7b94c23b50e9e690a7482ac349c9ef3 (patch)
tree63c20c67efbdf8334c6e273f78065b83135e3886 /home/sine.asm
parent17a4d0540acc00e3f5ad260009115eb36e72b7d2 (diff)
parent2d73d040d16a7836f935a7a6cb2a311aed2ca5a2 (diff)
Merge branch 'master' into the-diffening
Diffstat (limited to 'home/sine.asm')
-rw-r--r--home/sine.asm5
1 files changed, 2 insertions, 3 deletions
diff --git a/home/sine.asm b/home/sine.asm
index a32a31612..821f7c47d 100644
--- a/home/sine.asm
+++ b/home/sine.asm
@@ -1,10 +1,9 @@
-Cosine:: ; 1b0f
+Cosine::
; a = d * cos(a * pi/32)
add %010000 ; cos(x) = sin(x + pi/2)
; fallthrough
-Sine:: ; 1b11
+Sine::
; a = d * sin(a * pi/32)
ld e, a
homecall _Sine
ret
-; 1b1e