Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cannon/MIPS64.sol
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,9 @@ contract MIPS64 is ISemver {
}

/// @notice Loads a subword of byteLength size contained from memory based on the low-order bits of vaddr
/// @param _vaddr The virtual address of the the subword.
/// @param _vaddr The virtual address of the subword.
/// @param _byteLength The size of the subword.
/// @param _signExtend Whether to sign extend the selected subwrod.
/// @param _signExtend Whether to sign extend the selected subword.
function loadSubWord(
State memory _state,
uint64 _vaddr,
Expand Down
4 changes: 2 additions & 2 deletions src/cannon/libraries/MIPS64Instructions.sol
Original file line number Diff line number Diff line change
Expand Up @@ -880,10 +880,10 @@ library MIPS64Instructions {
}

/// @notice Selects a subword of byteLength size contained in memWord based on the low-order bits of vaddr
/// @param _vaddr The virtual address of the the subword.
/// @param _vaddr The virtual address of the subword.
/// @param _memWord The full word to select a subword from.
/// @param _byteLength The size of the subword.
/// @param _signExtend Whether to sign extend the selected subwrod.
/// @param _signExtend Whether to sign extend the selected subword.
function selectSubWord(
uint64 _vaddr,
uint64 _memWord,
Expand Down