You are on page 1of 2

 Computer Architecture = Structure (Organization) + protocol (Instruction)

 Same Components for all kinds of computer:

CPU: ALU(Arithmetic & Logic Unit), CU (Control Unit), Clock, Registers, Caches

Memory: Internal Mem (RAM, ROM), External Mem (HDD, SSD, Floppy Disk, Flash Mem,…)

Input/Output Devices

 Systems:
Syntax
Semantics
Inference
Axiom

MIPS

0 $zero
1
2 $v0
3 $v1
4 $a0
5 $a1
6 $a2
7 $a3
8 $t0
9 $t1
10 $t2
11 $t3
12 $t4
13 $t5
14 $t6
15 $t7
16 $s0
17 $s1
18 $s2
19 $s3
20 $s4
21 $s5
22 $s6
23 $s7
24 $t8
25 $t9
26
27
28 GP (global pointer)
29 SP (stack pointer)
30 FP (flame pointer)
31 RA (return address)

Add (32)
Sub
Lw : load word
Sw : store word
Lb : load byte
Lh : load haft word
Sll : shift left logical
Srl : shift right logical
Andi : and i
Ori : or i
Nor : not a = a nor 0
Beq : branch if equal
Bne : branch if not equal
J : jump
Slt : set on less than (signed)
Slti : set on less than constant
Sltu : set on less than (unsigned)

You might also like