sub and subs instruction (pre-UAL syntax, UAL syntax)
Yutaka Niibe at
I didn't know well about two different syntax in ARM assembler.
For UAL syntax (newer, which is usually used), it requires an explicit "s" suffix to specify flags being set, while pre-UAL syntax (older, which is used for Cortex-M0) assumes that implicitly.
In GCC, we have -masm-syntax-unified option.
For UAL syntax (newer, which is usually used), it requires an explicit "s" suffix to specify flags being set, while pre-UAL syntax (older, which is used for Cortex-M0) assumes that implicitly.
In GCC, we have -masm-syntax-unified option.