Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Add MOVI opcode #53

Merged
merged 1 commit into from
Mar 26, 2022
Merged

Add MOVI opcode #53

merged 1 commit into from
Mar 26, 2022

Conversation

Voxelot
Copy link
Member

@Voxelot Voxelot commented Mar 26, 2022

Adds the definition of the movi ra imm18 opcode defined in the specs: https:/FuelLabs/fuel-specs/blob/master/specs/vm/opcodes.md#movi-move-immediate

This will replace usages of addi when trying to set a register to some value in scripts, since addi is limited to imm12 which isn't large enough to handle transactions with 255 inputs when configuring a script data offset.

@Voxelot Voxelot merged commit a52b054 into master Mar 26, 2022
@Voxelot Voxelot deleted the movi branch March 26, 2022 16:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants