Skip to content

Commit

Permalink
Update src/fuel-vm/instruction-set.md
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Kite <[email protected]>
  • Loading branch information
Dentosal and Voxelot authored Oct 8, 2024
1 parent 6aa02ac commit 697d0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fuel-vm/instruction-set.md
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,7 @@ Panic if:
| Operation | `code = match imm { 0 => contract_code(mem[$rA,32]), 1 => blob_payload(mem[$rA,32]), 2 => mem[$ra, ..] }; MEM[$ssp, $rC] = code[$rB, $rC];` |
| Syntax | `ldc $rA, $rB, $rC, imm` |
| Encoding | `0x00 rA rB rC imm` |
| Notes | If `$rC` is greater than the code size, zero bytes are filled in. Length final is always padded to word boundary. |
| Notes | If `$rC` is greater than the code size, zero bytes are filled in. Final length is always padded to word boundary. |

Object type from `imm` determines the source for loading as follows:

Expand Down

0 comments on commit 697d0eb

Please sign in to comment.