computer architecture 1
3
Click here to load reader
-
Upload
nikosheavyload -
Category
Documents
-
view
3 -
download
0
description
pc architecture
Transcript of computer architecture 1
-
1
. 2013 2014, 5 , &
-
: 20/12/2013
C,
assembly MIPS.
MIPS.
$0 $zero 0 sll
srl shift ,
.
int i=0; int result = -1; while ( i
-
while (((x>>2) & 0x01)!=0) { x = x>>1; count *=2; if (count [] [0,15)})
3. :
a. ()
[i] = M[i]+S[i]
b. (B) B[i] = M[i]-S[i]
400
800.
.
-
MIPS (
$a0) S ( $a1).
100 . S
$v0 ,
$a0.
: ,
Qtspim (http://spimsimulator.sourceforge.net/)
(pdf, docs odt)
.
(, , ).
.
,
.
: http://www.cslab.ece.ntua.gr/courses/comparch/submit
http://spimsimulator.sourceforge.net/http://www.cslab.ece.ntua.gr/courses/comparch/submit