Commit ecd8fbb
authored
[vm] Add new opcodes to store and load
* [vm] Add new opcodes to store and load `addr_std$10`
LDSTDADDR — loads a MessageInt address or fail
LDSTDADDRQ — quirly loads a MessageInt address
LDOPTSTDADDR — loads a Maybe MessageInt address or fail
LDOPTSTDADDRQ — quitly loads a Maybe MessageInt address
STSTDADDR — stores a MessageInt address or fail
STSTDADDRQ — quetly stores a MessageInt address
STOPTSTDADDR — stores a Maybe MessageInt address or fail
STOPTSTDADDRQ — quetly stores a Maybe MessageInt address
* add description for STSTDADDR error
* add check that address is fully valid
* add require_version for the new opcodes
* correct LDOPTSTDADDR(Q) behaviour
* correct STOPTSTDADDR(Q) behaviour
* run test-fift with --regression
* add description to GlobalVersions.md
* remove old +1
* fix stack description
* fix `is_valid_std_msg_addr`
* add `have_refs(0)` check to is_valid_std_msg_addr
* check exact length and refs_length in is_valid_std_msg_addr
* simplify fallback in is_valid_std_msg_addr
* use push_bool, add check for refsaddr_std$10 (#1849)1 parent f9db7bd commit ecd8fbb
File tree
7 files changed
+634
-1
lines changed- crypto
- fift/lib
- test
- fift
- vm
- doc
- test
7 files changed
+634
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1458 | 1458 | | |
1459 | 1459 | | |
1460 | 1460 | | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
1461 | 1469 | | |
1462 | 1470 | | |
1463 | 1471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
0 commit comments