Hi,
Has anyone used the if-then instruction for the Tiva/Stellaris using the CCS assembler?
I am using CCS and I tried the following, which is supposed to be a simple rendering of
if( r2 == 0x10001)
pass();
else
fail();
mov r2,#1
movt r2, #1
cmp r2,#0x10001
itte eq
bl pass
bl fail
I get
"../main.s", ERROR! at line 45: [E0003] Empty or Invalid condition code
itte eq
1 Assembly Error, 2 Assembly Warnings
"../main.s", WARNING! at line 46: [W0004] Missing condition code inside of IT block
bl pass
"../main.s", WARNING! at line 47: [W0004] Mis