mirror of
https://github.com/johnwinans/rvalp.git
synced 2025-09-28 21:50:38 -04:00
Add notes about the use of bit #30 in the add/sub & sr insns.
This commit is contained in:
parent
0f87512cf9
commit
a75eca5f5c
@ -1391,7 +1391,7 @@
|
|||||||
|
|
||||||
\begin{scope}[shift={(0,-1.5)}]
|
\begin{scope}[shift={(0,-1.5)}]
|
||||||
|
|
||||||
\DrawInsnTypeI{0000010abcde00011000001110000011}
|
\DrawInsnTypeI{0100000abcde00011000001110000011}
|
||||||
|
|
||||||
\pgfmathsetmacro\ArrowNorth{\BitBoxArrowInset}
|
\pgfmathsetmacro\ArrowNorth{\BitBoxArrowInset}
|
||||||
\pgfmathsetmacro\ArrowSouth{-16-\BitBoxArrowInset}
|
\pgfmathsetmacro\ArrowSouth{-16-\BitBoxArrowInset}
|
||||||
|
@ -388,6 +388,9 @@ capable of representing numbers twice the magnitude of the 20-bit imm value.
|
|||||||
\label{insnformat:rtype}
|
\label{insnformat:rtype}
|
||||||
\DrawInsnTypeRTikz{01000001111100011000001110110011}
|
\DrawInsnTypeRTikz{01000001111100011000001110110011}
|
||||||
|
|
||||||
|
Note that bit 30 is used to select between the \verb@add@ and \verb@sub@ instructions
|
||||||
|
as well as to select between arithmetic and logical shifting.
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\subsection{I Type}
|
\subsection{I Type}
|
||||||
\label{insnformat:itype}
|
\label{insnformat:itype}
|
||||||
@ -403,6 +406,9 @@ the {\em imm} field is used as an immediate value named {\em shamt}
|
|||||||
representing the number of bit positions to shift:
|
representing the number of bit positions to shift:
|
||||||
|
|
||||||
\label{shamt.i:decode}\DrawInsnOpIShiftTypeDecoding
|
\label{shamt.i:decode}\DrawInsnOpIShiftTypeDecoding
|
||||||
|
|
||||||
|
Note that bit 30 is used to select between arithmetic and logical shifting.
|
||||||
|
|
||||||
%\DrawInsnTypeIShiftTikz{00000000001000011001001110100011}
|
%\DrawInsnTypeIShiftTikz{00000000001000011001001110100011}
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user