summaryrefslogtreecommitdiff
path: root/home/sine.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-09 16:39:36 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-09 16:39:36 -0500
commit11556196ba546f5c45b97fffc2c263a79eb639b9 (patch)
treebff73d91ac9caba31703b4671db1f0d59524fa3f /home/sine.asm
parenta849c3557b8ee3dd2b464ccdc646aebd33d7b2a7 (diff)
Consistent sine wave code formatting
Diffstat (limited to 'home/sine.asm')
-rw-r--r--home/sine.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/sine.asm b/home/sine.asm
index 810845860..eff5ed299 100644
--- a/home/sine.asm
+++ b/home/sine.asm
@@ -1,6 +1,6 @@
Cosine:: ; 1b0f
; Return d * cos(a) in hl
- add $10 ; 90 degrees
+ add %010000 ; 90 degrees
Sine:: ; 1b11
; Return d * sin(a) in hl