Posted on February 08, 2013 at 17:34
Hi,
I have a quick quiestion: my toolchain complains that instruction
strexb r2, r2, [r3] is illegal (registers may not be the same), while
strex r2, r2, [r0] is fine.
The qu...
Posted on February 08, 2013 at 19:52
Hmm.
Thanks for the pointer, clive1.
This is what the architecture manual says:
STREX<c> <Rd>,<Rt>,[<Rn>{,#<imm8>}]
d = UInt(Rd); t = UInt(Rt); n = UInt(Rn); imm32 = ZeroExtend(imm8:'0...
Posted on February 08, 2013 at 18:05
Well, it's not that it's a complete show-stopper. There's a work-around.
core_cmInstr.h defines __STREXB as
__attribute__( ( always_inline ) ) static __INLINE uint32_t __STREXB(uint8_t value, v...