isa: add add as an example for new gentex
[calu.git] / 2_isa / isa.tex
1 \documentclass[a4paper,12pt]{scrartcl}
2 \usepackage{common}
3 \begin{document}
4 \allauthors
5
6 \title{Instruction Set}
7 \titlehead{Vienna University of Technology \hfill WS~2010}
8 \subject{Computer Architecture Labor\"ubung}
9 \date{\today}
10 \publishers{Gruppe 1}
11
12 \maketitle
13 \newpage
14 \tableofcontents
15 \newpage
16
17 \input{conds}
18 if a condition is not met, the instruction is executed but no changes (on data or flags) occure.
19 \clearpage
20 \section{instr}
21
22 \subsection{arith}
23 modifies all flags
24 \input{arith}
25
26 \subsection{logic}
27 modifies zero and sign flag only. shifts may modify carry
28
29 rotate?!?!?!?
30
31 C is for shift to desc. a shift through carry
32 F is for fill the unused
33 ARITH makes logic right shift to arithemtic right shift
34
35 not kann durch xorif rD, rS, \#0x7FF ersetzt werden. makro \_NOT daf\"ur.
36
37 \input{logic}
38
39 \subsection{data}
40
41 use addi rD, rS, \#0 for mov rD, rS \\
42
43 \input{data}
44 \subsection{misc}
45 \input{misc}
46
47
48 \end{document}