Download Print this page

Espressif ESP32 Technical Reference Manual page 671

Hide thumbs Also See for ESP32:

Advertisement

30 ULP Coprocessor (ULP)
Operand
Description - see Figure
Step
Relative shift from current position, expressed in 32-bit words:
if Step[7] = 0 then PC = PC + Step[6:0]
if Step[7] = 1 then PC = PC - Step[6:0]
Threshold
Threshold value for condition (see Cond below) to jump
Cond
Condition to jump:
0 - jump if R0 < Threshold
1 - jump if R0 >= Threshold
Description
The instruction prompts a jump to a relative address, if the above-mentioned condition is true. The condition
itself is the result of comparing the R0 register value and the Threshold value.
Note:
All jump addresses are expressed in 32-bit words.
30.4.6 JUMPS – Jump to a Relative Address (Conditional upon Stage Count Register)
31
28
27
4'd8
3'b2
Operand
Description - see Figure
Step
Relative shift from current position, expressed in 32-bit words:
if Step[7] = 0, then PC = PC + Step[6:0]
if Step[7] = 1, then PC = PC - Step[6:0]
Threshold
Threshold value for condition (see Cond below) to jump
Cond
Condition of jump:
1X - jump if Stage_cnt <= Threshold
00 - jump if Stage_cnt < Threshold
01 - jump if Stage_cnt >= Threshold
Note:
• A description of how to set the stage count register is provided in section 30.4.1.3.
• All jump addresses are expressed in 32-bit words.
Description
The instruction prompts a jump to a relative address if the above-mentioned condition is true. The condition
itself is the result of comparing the value of Stage_cnt (stage count register) and the Threshold value.
30.4.7 HALT – End the Program
31
28
4'd11
Description
The instruction ends the operation of the processor and puts it into power-down mode.
Espressif Systems
30-9
25
24
17
Step
Figure 30-10. Instruction Type — JUMP
30-10
Figure 30-11. Instruction Type — HALT
Submit Documentation Feedback
16
15
Cond
671
7
0
Threshold
0
ESP32 TRM (Version 5.2)

Advertisement

loading
Need help?

Need help?

Do you have a question about the ESP32 and is the answer not in the manual?