git://git.gir.st
/
Chiptunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d672b8
)
fix bug: a2 (as tmp) was not cleared after use
author
Tobias Girstmair
<t@thi3nkpad.lan>
Thu, 13 Dec 2018 15:31:19 +0000
(16:31 +0100)
committer
Tobias Girstmair
<t@thi3nkpad.lan>
Thu, 13 Dec 2018 15:31:19 +0000
(16:31 +0100)
foo.S
patch
|
blob
|
blame
|
history
diff --git
a/foo.S
b/foo.S
index 777d248c05b06b037d995c5b1c8d28b1d405c7f7..2e91f8cb81a875aa3fce11354720380996cde0a0 100644
(file)
--- a/
foo.S
+++ b/
foo.S
@@
-114,7
+114,6
@@
mod3: ; mod3(Mh.Ml) -> t
g: ; g(i, t) -> t
#define a1 x
#define a2 _
- CLR a2
CLR a1
#define tmp _
@@
-133,6
+132,8
@@
g: ; g(i, t) -> t
ADD Xlo, t ; NOTE: can't overflow, since RAMEND == 0x5F
LD t, X
+ CLR a2
+
/* decision tree multiplication saves cycles and (hopefully) reduces code size
_xxx?
/ \