






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























similar to other architectures developed since the 1980's z used by NEC, Nintendo, Silicon Graphics, Sony, … z 32-bit architecture
32 bit data line and address line
-^ data and addresses are 32-bit
Fall 06
331 W02.
Fall 06
-^ With two read ports and -^ One write port
Register File
src1 addrsrc2 addrdst addr write data
32 bits
src1data src2data
32 locations
32
5
32
(^5532)
$zero constant 0 1
$at reserved for assembler 2
$v0 expression evaluation & 3
$v1 function results 4
$a0 arguments 5
$a 6
$a 7
$a 8
$t0 temporary: caller saves
...
(callee can clobber)
15
$t
$s0 callee saves
...
(caller can clobber)
$s 24
$t
temporary (cont’d)
25
$t 26
$k0 reserved for OS kernel 27
$k 28
$gp pointer to global area 29
$sp stack pointer 30
$fp frame pointer 31
$ra return address
Processor
Memory
read addr/write addr^ read datawrite data
(^322) Addressablelocations Q: what should be
the smallest addressable unit?
Fall 06
32
30
Aligned
Not Aligned
IBM 360/370, Motorola 68k, MIPS, Sparc, HP PA
Intel 80x86, DEC Vax, DEC Alpha (Windows NT)
lsb
little endian byte 0
msb
big endian byte 0
$s
$s
$s
... $s
Fall 06
z^
op
rs^
rt^
rd^
shamt
funct
Fall 06
op
rs^
rt^
rd^
shamt
funct
6 bits
5 bits
5 bits
5 bits
5 bits
6 bits
= 32 bits