X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=2_isa%2Fisa.tex;h=85940cddd4d61ffa804ca741806ba9bb1e8fffc9;hb=8dcde224e54a74119f72edd49a903c94e14f45e9;hp=032cce9812b95ef379b3e55fec9ef1b936f9d872;hpb=4f4890d6d3ae64a7ffe0b08d82e6ba0032cab631;p=calu.git diff --git a/2_isa/isa.tex b/2_isa/isa.tex index 032cce9..85940cd 100644 --- a/2_isa/isa.tex +++ b/2_isa/isa.tex @@ -3,7 +3,7 @@ \begin{document} \allauthors -\title{Instruction Set} +\title{Instruction Set ``Deep Thought''} % haha, deep throat \titlehead{Vienna University of Technology \hfill WS~2010} \subject{Computer Architecture Labor\"ubung} \date{\today} @@ -14,41 +14,33 @@ \tableofcontents \newpage +\input{cmp} + \input{desdis} \input{conds} -if a condition is not met, the instruction is executed but no changes (on data or flags) occure. -\clearpage -\input{callingconv} +\input{callingconv} \clearpage -\section{instr} +\section{Instruction Set Overview} \input{flags} -\subsection{arith} -modifies all flags +\subsection{arithmetic instructions} +When not stated otherwise the following instructions will modify all flags of the PSW. \input{arith} -\subsection{logic} -modifies zero and sign flag only. shifts may modify carry - -rotate?!?!?!? - -C is for shift to desc. a shift through carry -F is for fill the unused -ARITH makes logic right shift to arithemtic right shift - -not kann durch xorif rD, rS, \#0x7FF ersetzt werden. makro \_NOT daf\"ur. - +\subsection{logical instructions} +When not stated otherwise the following instructions will only modify the zero and sign flag. \input{logic} -\subsection{data} - -use addi rD, rS, \#0 for mov rD, rS \\ - +\subsection{data modifying instructions} +When not stated otherwise the following instructions will not modify any flag. \input{data} -\subsection{misc} + +\subsection{miscellaneous instructions} \input{misc} +\section{Examples} +\input{example} \end{document}