Skip to content

Commit

Permalink
Minor fix of the vm initialization description (#493)
Browse files Browse the repository at this point in the history
Part of the #466
  • Loading branch information
xgreenx authored Jun 12, 2023
1 parent 365b076 commit 57260c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ A complete instruction set of the Fuel VM is documented in [the following page](

## VM Initialization

Every time the VM runs, a single monolithic memory of size `VM_MAX_RAM` bytes is allocated, indexed by individual byte. A stack and heap memory model is used, allowing for dynamic memory allocation in higher-level languages. The stack begins at `0` and grows upward. The heap begins at `VM_MAX_RAM - 1` and grows downward.
Every time the VM runs, a single monolithic memory of size `VM_MAX_RAM` bytes is allocated, indexed by individual byte. A stack and heap memory model is used, allowing for dynamic memory allocation in higher-level languages. The stack begins at `0` and grows upward. The heap begins at `VM_MAX_RAM` and grows downward.

To initialize the VM, the following is pushed on the stack sequentially:

Expand Down

0 comments on commit 57260c7

Please # to comment.