aboutsummaryrefslogtreecommitdiffstats
path: root/Tremolo/dpen.s
diff options
context:
space:
mode:
Diffstat (limited to 'Tremolo/dpen.s')
-rw-r--r--Tremolo/dpen.s7
1 files changed, 6 insertions, 1 deletions
diff --git a/Tremolo/dpen.s b/Tremolo/dpen.s
index 6123f8f..f1bda1d 100644
--- a/Tremolo/dpen.s
+++ b/Tremolo/dpen.s
@@ -454,7 +454,9 @@ _checksum:
@ r1 = bytes
STMFD r13!,{r5-r6,r14}
- LDR r5,=crc_lookup
+ ADR r6,.Lcrc_lookup
+ LDR r5,[r6]
+ ADD r5,r6
MOV r14,#0 @ r14= crc_reg = 0
MOVS r12,r0
BEQ _cs_end
@@ -487,4 +489,7 @@ _cs_end:
MOV r0,r14
LDMFD r13!,{r5-r6,PC}
+.Lcrc_lookup:
+ .WORD crc_lookup-.Lcrc_lookup
+
@ END