> Can you justify why the carry flag should be set in this case?
>
> > mov r10,#0x7f000000
> > mov r11,#0x1fc00000
> > adds r12,r10,r11,LSL #2 (0x7f00_0000+0x7F00_0000==0xfe00_0000), carry
> > flag set !?!?
This really perplexed me so I tried it out myself as a sanity check.
I was unable to reproduce this behaviour either in VBA or on the hardware.
?!?