User Manual
282
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Arm® Cortex®-M0 Core
9.5
Instruction Set Summary
This chapter provides the Instruction set.
shows the instructions and their cycle counts. The cycle
counts are based on a system with zero wait states.
Within the assembler syntax, depending on the operation, the <op2> field can be replaced with one of the
following options:
• a simple register
• an immediate shifted register
• a register shifted register
• an immediate value
For brevity, not all load and store addressing modes are shown.
uses the following abbreviations in the cycles column:
• P for the number of cycles required for a pipeline refill.
• B for the number of cycles required to perform the barrier operation.
• N for the number of registers in the register list to be loaded or stored, including PC or LR.
• W for the number of cycles spent waiting for an appropriate event.
Table 157 Instruction Set Summary
Operation
Description
Mnemonic
Cycles (without
wait states)
Move
Register
MOV Rd, Rm
1
Add
Add
ADD Rd, Rn, <op2>
1
Add with carry
ADCS Rd, Rn, Rm
1
ADR
Address to Register
ADR Rd, <label>
1
Subtract
Subtract
SUB Rd, Rn, <op2>
1
Subtract with carry
SBCS Rd, Rn, Rm
1
Reverse
RSBS Rd, Rn, #0
1
Multiply
Multiply, 32-bit result
MULS Rd, Rn, Rm
1
Compare
Compare
CMP Rn, <op2>
1
Negative
CMN Rn, Rm
1
Logical
AND bitwise
ANDS Rd, Rn, <op2>
1
Exclusive OR
EORS Rd, Rn, Rm
1
OR
ORRS Rd, Rn, Rm
1
Bit clear
BICS Rd, Rn, <op2>
1
Move NOT bitwise
MVNS Rd, Rm
1
AND test
TST Rn, Rm
1
Shift
Logical shift left
LSLS Rd, Rn, #<imm>
1
Logical shift left
LSLS Rd, Rn, Rs
1
Logical shift right
LSRS Rd, Rn, #<imm>
1
Logical shift right
LSRS Rd, Rn, Rs
1
Arithmetic shift right
ASRS Rd, Rn, #<imm>
1
Arithmetic shift right
ASRS Rd, Rn, Rs
1