📄 source2.uc
字号:
;Reference Instructions
;TA
;sram (about ctx_swap)
;(Microengine 0 run source0.uc
; Microengine 1 run source1.uc
; Microengine 2 run source2.uc
; Microengine 3 run source3.uc)
immed[$xfer2,0x12]
;To perform SRAM[2]:=2
sram[write, $xfer2, base, 2, 1], ctx_swap,defer[1]; Ask for SRAM completion signal and swap out this thread causing it waiting for the signal. Using with defer[1].
immed[base,0]
self#:
br[self#]
//demo(1): watch Microengine 0 's FIRST thead Execution. br!=signal[sram] polling SRAM signal event
//demo(2): watch Microengine 1 four threads Execution. Context READY depending on SRAM signal event
//demo(3): watch Microengine 2 four threads Execution. Context READY depending on SRAM signal event
//demo(4): watch Microengine 3 four threads Execution. Context READY NOT depending on SRAM signal event
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -