Instruction Formats
328
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Programmable Real-Time Unit Subsystem (PRUSS)
Figure 13-6. Format 2b: (JMP, JAL – Immediate Op2)
31
29
28
25
24
23
16
OP
SUBOP
IO
Imm
15
9
8
7
5
4
0
Imm
RdSel
Rd
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 13-11. Format 2b: (JMP, JAL – Immediate Op2)
Bit
Field
Description
31-29
OP
0b001 = Specifies Format 2
28-25
SUBOP
0 = JMP - Jump
1 = JAL – Jump and Link
24
IO
1 = Jump operand is a 16-bit immediate value
23-8
Imm
0h–FFFFh = This field is the 16-bit immediate value to be copied to the program counter.
7-5
RdSel
0 = Select bits 7:0 of the destination register
1 = Select bits 15:8 of the destination register
2 = Select bits 23:16 of the destination register
3 = Select bits 31:24 of the destination register
4 = Select bits 15:0 of the destination register
5 = Select bits 23:8 of the destination register
6 = Select bits 31:16 of the destination register
7 = Select bits 31:0 of the destination register
4-0
Rd
0-30 = This field selects the destination register number to which the pre-incremented program
counter should be written. Only written for JAL.