Expand description
0x01 Control operations (branch, thread, future, message, configuration)
-
0x0101jump:address -
0x0102call:address -
0x0103return (call_return) -
0x0104gotodirect:32 -
0x0105gosubdirect:32 -
0x0108loop:counter_init(loop_init) -
0x0109nextdirect:32 -
0x010Agoto_if:CMPdirect:32 -
0x010Bgosub_if:CMPdirect:32 -
0x010Cgoto_check:checkeddirect:32 -
0x010Dgosub_check:checkeddirect:32 -
0x010Eskip_if:CMP -
0x010Fskip_check:checked -
0x01FFhalt -
TODO 0x0170 FORK $target : invoke Cpu which
JUMPs to$targetwith a new context instance, while the current Cpu continues with the next instruction. -
TODO 0x0180 PROMISE ?
-
TODO 0x0181 RESOLVE ?
-
TODO 0x0188 PRODUCE ?
-
TODO 0x0187 CONSUME ?
-
TODO … MESSAGES
-
TODO 0x01F0 CHANGE FREQUENCY
Constants§
- CALL
- 0x0102
- CALL_
RETURN - 0x0103
- GOSUB
- 0x0105
- GOSUB_
CHECK - 0x010D
- GOSUB_
IF - 0x010B
- GOTO
- 0x0104
- GOTO_
CHECK - 0x010C
- GOTO_IF
- 0x010A
- HALT
- 0x01FF
- JUMP
- 0x0101
- LOOP
- 0x0108
- NEXT
- 0x0109
- SET_
MASK - SKIP_
CHECK - 0x010F
- SKIP_IF
- 0x010E
Functions§
- call
0x0102call:address- call_
return 0x0103return (call_return)- gosub
0x0105gosubdirect:32- gosub_
check 0x010Dgosub_check:checkeddirect:32- gosub_
if 0x010Bgosub_if:CMPdirect:32- goto
0x0104gotodirect:32- goto_
check 0x010Cgoto_check:checkeddirect:32- goto_if
0x010Agoto_if:CMPdirect:32- halt
0x01FFhalt- jump
0x0101jump:address- loop_
init 0x0108loop:counter_init(loop_init)- next
0x0109nextdirect:32- operation_
set - Returns control operations.
- skip_
check 0x010Fskip_check:checked- skip_if
0x010Eskip_if:CMP