Arduino inline assembly: 16 bit x 8 bit multiplication!

I would code x = x* 5 as x = x + x <<2; if I wanted to optimize

don't know the assembly for that but it uses no multiply at all..

1 Like