Skip to content

Commit

Permalink
Remove double negative from ICPX transfer HUB -> MMU (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierBBB authored Dec 11, 2024
1 parent c63467a commit 0b01281
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
10 changes: 5 additions & 5 deletions hub/instruction_handling/halt/return/generalities.tex
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,11 @@
\item \If $\locCheckFirstByte = 1$
\[
\setMmuInstructionParametersInvalidCodePrefix {
anchorRow = i ,
relOffset = \locFirstMiscRowOffset ,
sourceId = \cn _{i} ,
sourceOffsetLo = \locOffsetLo ,
successBit = 1 - \stackIcpx _{i - \locStackRowOffset} ,
anchorRow = i ,
relOffset = \locFirstMiscRowOffset ,
sourceId = \cn _{i} ,
sourceOffsetLo = \locOffsetLo ,
successBit = \stackIcpx _{i - \locStackRowOffset} ,
}
\]
\item \If $\locWriteSomeReturnData = 1$
Expand Down
7 changes: 5 additions & 2 deletions mmu/instructions/invalidCodePrefix/preprocessing.tex
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
\]
and we further impose that
\[
\macroSuccessBit_{i} = 1 - \ppWcpRes_{i + 1}
\macroSuccessBit_{i} = \ppWcpRes_{i + 1}
\]
we define the following shorthands:
\[
Expand Down Expand Up @@ -65,5 +65,8 @@
\end{array} \right.
\]
\end{description}
\saNote{} The value present in $\microLimb_{i + \nppMmuInstInvalidCodePrefixValuePO}$ will be justified in the \mmioMod{} module by the \mmioInstRamToLimbOneSource{} instruction.
\saNote{}
The value present in $\microLimb_{i + \nppMmuInstInvalidCodePrefixValuePO}$
will be justified in the \mmioMod{} module
via the \mmioInstRamToLimbOneSource{} instruction.
It is the byte contained at offset $\macroSrcOffsetLo_{i}$ in the \textsc{ram} of the execution context with context number $\macroSrcId_{i}$.

0 comments on commit 0b01281

Please sign in to comment.