Added a note about a proposal regarding assembly language design.
This commit is contained in:
@@ -61,6 +61,11 @@
|
|||||||
\end{tabular}
|
\end{tabular}
|
||||||
\caption{Encoding Layout}
|
\caption{Encoding Layout}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
\section{Notes}
|
||||||
|
For the opcodes that load or store data at the assembly language level we could have the mnemonics
|
||||||
|
"store" and "load" and have the assembler pick the opcode based on the inclusion of the word "byte"
|
||||||
|
or "word" for two bytes. That would make the assembly easier to read but put a bit more work on the
|
||||||
|
assembler.
|
||||||
\section{STOB (Store Byte)}
|
\section{STOB (Store Byte)}
|
||||||
\OpcodeTable{0x20}{stob}{Register}{Address}\\[6pt]
|
\OpcodeTable{0x20}{stob}{Register}{Address}\\[6pt]
|
||||||
Stores a single byte (the lower nibble) from a register to a memory address.
|
Stores a single byte (the lower nibble) from a register to a memory address.
|
||||||
@@ -105,6 +110,8 @@
|
|||||||
\section{SHR (Shift Right)}
|
\section{SHR (Shift Right)}
|
||||||
\section{SHL (Shift Left)}
|
\section{SHL (Shift Left)}
|
||||||
\section{INC (Increment)}
|
\section{INC (Increment)}
|
||||||
|
\OpcodeTable{0x00}{inc}{Register}{None}
|
||||||
\section{DEC (Decrement)}
|
\section{DEC (Decrement)}
|
||||||
|
\OpcodeTable{0x00}{dec}{Register}{None}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|||||||
Reference in New Issue
Block a user