xiaoxiang781216 opened a new pull request #3075: URL: https://github.com/apache/incubator-nuttx/pull/3075
## Summary The immediate number is 8bits in thumb mode: ``` +---------------------+---------------+ |15 14 13 12 11 10 9 8|7 6 5 4 3 2 1 0| +---------------------+---------------+ | 1 1 0 1 1 1 1 1| imm8 | +---------------------+---------------+ ``` The immediate number is 24bits in arm mode: ``` +-----------+-------------------------------------------------------------------------+ |31 30 29 28|27 26 25 24|23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0| +-----------+-----------+-------------------------------------------------------------+ | cond | 1 1 1 1| imm24 | +-----------+-----------+-------------------------------------------------------------+ ``` ## Impact Fix the build error in thumb mode when syscall is enabled ## Testing ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org