Started to mess around with setting up the figure for the layout of the registers and main memory.
This commit is contained in:
+1
-3
@@ -17,13 +17,11 @@
|
||||
\def\minY{-1.5em} \def\maxY{1.5em}
|
||||
\def\minX{-7} \def\maxX{7}
|
||||
|
||||
\usetikzlibrary{decorations.pathreplacing}
|
||||
|
||||
\section{Encoding Scheme}
|
||||
All instructions are a fixed width of 32-bits. There are two basic encoding schemes that the object code will take. The most basic layout is shown in Figure \ref{fig:OpShortEncodingFigure} that is used by instructions that take one or zero arguments, where the 16 most significant bits are used to encode the instruction itself. Followed by the 16 least significant bits being used to encode a numeric constant that may be interpreted as a relative address. For instructions that require two arguments the encoding scheme shown in Figure \ref{fig:OpArgEncodingFigure} is used.
|
||||
% Placement info here: https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Figures
|
||||
% Paths: https://tikz.dev/tikz-paths
|
||||
\begin{figure}[h]
|
||||
\begin{figure}
|
||||
\begin{tikzpicture}
|
||||
\draw (\minX, 0) -- (\maxX, 0);
|
||||
\draw (\minX, \minY / 2) -- (\minX, \maxY / 2); %{$y$}; Note the $'s, those make something math stylized.
|
||||
|
||||
Reference in New Issue
Block a user