Skip to content

Commit

Permalink
Updates bytecode.md with information about exit instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashy5000 authored Jul 20, 2024
1 parent 71541c9 commit fc5e874
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contracts/bytecode.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ CMD PARAMREF0 PARAMREF1 PARAMREF2 ... PARAMREFN PARAMEND
| UpdateState | 1B | Location | Value | ResDst |
| GetFromState | 1C | Location | Dst | ResDst |

`0x00000000` is a pre-initialized buffer. It is used for capturing global errors.
`0x00000000` is a pre-initialized buffer. It is used for capturing global errors.

`Exit`: The `Exit` instruction exits a smart contract with an exit code determined by the `Status` parameter.
`ExitBfr`: The `ExitBfr` instruction

0 comments on commit fc5e874

Please sign in to comment.