ESP32 SPR
来自Jack's Lab
(版本间的差异)
(以“== Overview == Speical Registers of ESP32 (Xtensa) hold the majority of the state added to the processor. <br><br> == R/W SPR == rsr.* a2 wsr.* a2 xsr.* a2...”为内容创建页面) |
(→R/W SPR) |
||
第17行: | 第17行: | ||
</pre> | </pre> | ||
+ | <br><br> | ||
+ | <br><br><br><br> | ||
+ | <br><br><br><br> | ||
+ | <br><br><br><br> | ||
+ | <br><br><br><br> | ||
+ | <br><br><br><br> | ||
<br><br> | <br><br> |
2016年11月21日 (一) 23:51的版本
1 Overview
Speical Registers of ESP32 (Xtensa) hold the majority of the state added to the processor.
2 R/W SPR
rsr.* a2 wsr.* a2 xsr.* a2 <--- exchanges the values in a General Register (GPR) and a Special Register (SPR)
For example:
rsr.prid a2