-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimt.txt
102 lines (83 loc) · 2.27 KB
/
simt.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[00000000] <-- 340100F0
[00000004] <-- 34020100
[00000008] <-- 34030200
[0000000C] <-- 34040300
[00000010] <-- 34050400
[00000014] <-- 8C260000
[00000018] <-- 8C270004
[0000001C] <-- 8C280008
[00000020] <-- 34040500
[00000024] <-- 34050600
[00000028] <-- AC460000
[0000002C] <-- AC470004
[00000030] <-- AC480008
[00000034] <-- FFFFFFFF
[000000F0] <-- 00007337
[000000F4] <-- 00002701
[000000F8] <-- 00001337
17 words loaded from meminit.hex
Starting simulation...
Core 1
PC <-- 00000000
00000000(Core 1): 340100F0 ORI R1, R0, 240
PC <-- 00000004
R1 <-- 000000F0
00000004(Core 1): 34020100 ORI R2, R0, 256
PC <-- 00000008
R2 <-- 00000100
00000008(Core 1): 34030200 ORI R3, R0, 512
PC <-- 0000000C
R3 <-- 00000200
0000000C(Core 1): 34040300 ORI R4, R0, 768
PC <-- 00000010
R4 <-- 00000300
00000010(Core 1): 34050400 ORI R5, R0, 1024
PC <-- 00000014
R5 <-- 00000400
00000014(Core 1): 8C260000 LW R6, 0(R1)
PC <-- 00000018
[word read from 000000F0]
R6 <-- 00007337
00000018(Core 1): 8C270004 LW R7, 4(R1)
PC <-- 0000001C
[word read from 000000F4]
R7 <-- 00002701
0000001C(Core 1): 8C280008 LW R8, 8(R1)
PC <-- 00000020
[word read from 000000F8]
R8 <-- 00001337
00000020(Core 1): 34040500 ORI R4, R0, 1280
PC <-- 00000024
R4 <-- 00000500
00000024(Core 1): 34050600 ORI R5, R0, 1536
PC <-- 00000028
R5 <-- 00000600
00000028(Core 1): AC460000 SW R6, 0(R2)
PC <-- 0000002C
[00000100] <-- 00007337
0000002C(Core 1): AC470004 SW R7, 4(R2)
PC <-- 00000030
[00000104] <-- 00002701
00000030(Core 1): AC480008 SW R8, 8(R2)
PC <-- 00000034
[00000108] <-- 00001337
00000034(Core 1): FFFFFFFF HALT
PC <-- 00000038
HALT executed(Core 1).
Done simulating...
Instruction Breakdown:
ORI: 7 (50.00%)
LW: 3 (21.43%)
SW: 3 (21.43%)
HALT: 1 (7.14%)
TOTAL: 14
PC: 00000038
General Purpose Registers:
R 0: 00000000 R 1: 000000F0 R 2: 00000100 R 3: 00000200
R 4: 00000500 R 5: 00000600 R 6: 00007337 R 7: 00002701
R 8: 00001337 R 9: 00000000 R10: 00000000 R11: 00000000
R12: 00000000 R13: 00000000 R14: 00000000 R15: 00000000
R16: 00000000 R17: 00000000 R18: 00000000 R19: 00000000
R20: 00000000 R21: 00000000 R22: 00000000 R23: 00000000
R24: 00000000 R25: 00000000 R26: 00000000 R27: 00000000
R28: 00000000 R29: 00000000 R30: 00000000 R31: 00000000