Skip to content

Commit

Permalink
Add new opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
NiTiSon committed Aug 13, 2024
1 parent a6c523c commit cfd1919
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions docs/runtime/versions/zero.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ Byte range|Instructions
0x02|[`push arg`](/runtime/bytecode/push/#push-argument)
0x03|[`push`](/runtime/bytecode/push/#push-local)
0x04|[`pop`](/runtime/bytecode/pop/)
0x05<br/>⋮<br/>0x1F|Unused
0x05|[`ret`](/runtime/bytecode/ret/)
0x06<br/>⋮<br/>0x1F|Unused
0x20<br/>⋮<br/>0x2D|[`push`](/runtime/bytecode/push/#push-literals)
0x2E<br/>⋮<br/>0xFF|Unused
0x2E|[`add`](/runtime/bytecode/add/)
0x2F|[`sub`](/runtime/bytecode/sub/)
0x30|[`div`](/runtime/bytecode/div/)
0x31|[`mul`](/runtime/bytecode/mul/)
0x32|[`rem`](/runtime/bytecode/rem/)
0x33|[`and`](/runtime/bytecode/and/)
0x34|[`or`](/runtime/bytecode/or/)
0x35|[`xor`](/runtime/bytecode/xor/)
0x36|[`neg`](/runtime/bytecode/neg/)
0x37|[`not`](/runtime/bytecode/not/)
0x38<br/>⋮<br/>0xFF|Unused

0 comments on commit cfd1919

Please sign in to comment.