You are on page 1of 2

Erfan zamanian

84104085
Problem 1:
)(I
2 256 2 = 218
18 .
64
)(2^6 = 64 6 .
: Opcode
10

18

32 1 18 6 = 7
)(II
(Memory(18

(Registry(6

(Opcode(7

(Identify(1

)(III
32 18 .
Problem 2:
) (
.1 pointer .
.
.2
) IR ( .
) . processor(

) (
.1 ,
pointer to pointer.
.2
) IR (.

.
.
Problem 3:

)*( 4

ADD R1,@R2

R1=1000
M[M[R2]]=1000
R1=1000+3000=2000

)*( 3
M[R1+1000]=3000
M[M[R2]]=1000
4000 = 1000 + 3000

)*( 3
M[M[R2]]=1000
1000+2000=3000

ADD 1000(R1),@R2

ADD #2000,@R2

You might also like