3 ms·
If you are on arm, I know you can basically do R3 = (r1 + r2) >> 2 R3 = R3 + 0x1000 0000 0000 0000 if carry bit is set. So should only be 2 instructions.
by Tyr42 4y ago
If you are on arm, I know you can basically do
R3 = (r1 + r2) >> 2
R3 = R3 + 0x1000 0000 0000 0000 if carry bit is set.
So should only be 2 instructions.