6

I've been looking for a list of the opcodes used in ARM Cortex M3/M4/M4F, without luck.


There are plenty of [online] references to the 32-bit format of ARM instructions.
References to Thumb-2 instructions are scarce, but available.
The version used in -M variants, however, I cannot find!

The ARM Technical Reference Manual has a "programmers Model" section which lists instructions, cycles per instruction... but no actual codes.
I found a "Definitive Guide" which has the same problem.

The information must be out there somewhere- you need it to write a compiler.
Where should I be looking?

Alan Campbell
  • 393
  • 4
  • 13
  • If not in the TRM then in the ARM (Architectural Reference Manual) the arm v7-m manual (be it trm or arm) does list every opcode, pseudocode, and which architecture supports that opcode. you need to just read the manuals better... – old_timer Dec 28 '14 at 15:06

2 Answers2

3

The ARM Technical Reference Manual [...]

Wrong manual. You need the ARM ARM, or ARM Architecture manual for armv7-m. I cannot link to it here because ARM allows downloads of the ARM ARM only for registered users.

Turbo J
  • 7,563
  • 1
  • 23
  • 43
2

ARMv7-M Architecture Reference Manual