avr: fixed a bug.

This commit is contained in:
Martin Preuss
2026-01-24 01:02:33 +01:00
parent 9a1ca45329
commit 2085ba6bbe

View File

@@ -39,8 +39,8 @@ Utils_Mulu16x16_32_loop:
lsr r23 lsr r23
ror r22 ror r22
brcc Utils_Mulu16x16_32_noadd ; current digit in B is 0, don't add shifted A to result brcc Utils_Mulu16x16_32_noadd ; current digit in B is 0, don't add shifted A to result
add r16, r22 add r16, r20
adc r17, r23 adc r17, r21
adc r18, r24 adc r18, r24
adc r19, r25 adc r19, r25
; brcs Utils_Mulu16x16_32_overflow ; can't happen ; brcs Utils_Mulu16x16_32_overflow ; can't happen