![Texas Instruments AM1808 Technical Reference Manual Download Page 322](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_1094558322.webp)
Instruction Set
322
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Programmable Real-Time Unit Subsystem (PRUSS)
Table 13-6. Program Flow Control Instructions
Mnemonic
Instruction
Description
CPI
QBBS
Quick Branch – Bit Set
Adds BrOff to the program counter if the bit in Rs1 specified by
the 5 LSBs of Op2 is a 1
1
QBBC
Quick Branch –
Bit Clear
Adds BrOff to the program counter if the bit in Rs1 specified by
the 5 LSBs of Op2 is a 0
1
QBGT
Quick Branch –
Greater Than
Compares Op2 to Rs1 and adds BrOff to the program counter if
Op2 is greater than Rs1.
1
QBGE
Quick Branch –
Greater Than or Equal
Compares Op2 to Rs1 and adds BrOff to the program counter if
Op2 is greater than or equal to Rs1.
1
QBLT
Quick Branch –
Less Than
Compares Op2 to Rs1 and adds BrOff to the program counter if
Op2 is less than Rs1.
1
QBLE
Quick Branch –
Less Than or Equal
Compares Op2 to Rs1 and adds BrOff to the program counter if
Op2 is less than or equal to Rs1.
1
QBEQ
Quick Branch – Equal
Compares Op2 to Rs1 and adds BrOff to the program counter if
Op2 is equal to Rs1.
1
QBNE
Quick Branch – Not Equal
Compares Op2 to Rs1 and adds BrOff to the program counter if
Op2 is not equal to Rs1.
1
JMP
Unconditional Jump
Sets the program counter equal to either the contents of a
register or to a 16-bit immediate value
1
JAL
Unconditional Jump and
Link
Saves the current program counter into Rd and sets the program
counter equal to either the contents of a register or to a 16-bit
immediate value.
1
HALT
Halt Processor
Disables the PRU and does not increment the program counter.
When the PRU is re-enabled, it will continue processing at this
instruction.
1
SLP
Sleep
Pauses execution of the current program and disables the clock
for the majority of the core until a specified external event (un-
masked status bit) is asserted.
1 to infinity