summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cf-code/cf-fsi-fw.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/cf-code/cf-fsi-fw.S b/cf-code/cf-fsi-fw.S
index 4cabaf1..6a96fb5 100644
--- a/cf-code/cf-fsi-fw.S
+++ b/cf-code/cf-fsi-fw.S
@@ -318,11 +318,11 @@ start_command:
*
* Note: This assumes we have at least 1 bit to clock
*/
- btst.b #5,%d2
- beq 1f
+ moveq #32,%d3
+ cmp.b %d3,%d2
+ blt 1f
/* Clock out 32 bits */
- moveq #32,%d3
sub.l %d3,%d2
0: clock_out_bit %d4
lsl.l #1,%d4
OpenPOWER on IntegriCloud