summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/ffs-coldfire.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/ffs-coldfire.S')
-rw-r--r--firmware/target/coldfire/ffs-coldfire.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/coldfire/ffs-coldfire.S b/firmware/target/coldfire/ffs-coldfire.S
index 582970d5d6..40a7297802 100644
--- a/firmware/target/coldfire/ffs-coldfire.S
+++ b/firmware/target/coldfire/ffs-coldfire.S
@@ -57,7 +57,8 @@ find_first_set_bit:
57 | now lookup in table indexed on top 6 bits of %d0 57 | now lookup in table indexed on top 6 bits of %d0
58 moveq.l #26, %d0 | %d0 = final shift count 58 moveq.l #26, %d0 | %d0 = final shift count
59 lsr.l %d0, %d1 | 59 lsr.l %d0, %d1 |
60 clr.l %d0 | 60
61 | the top 24 bits of d0 are 0 so just load the value over it
61 move.b (%a0, %d1.l), %d0 | 62 move.b (%a0, %d1.l), %d0 |
62 rts | 63 rts |
63 64