+/EE460N

computer architecture

git clone https://git.julia.blue/+/EE460N

Joseph RyanFinish Lab 32dace00

master
5.3 KiB83 linesraw
1=========================================================================
2Part A: Tests for individual states (1.25 points each)
3Each of these compares the result of rdump & mdump after run <n>
4where n is the value in column 3 below
5=========================================================================
6Name of     Instruction      Number of   Number of   Incorrect   Points
7Test Case                    Cycles      Differences
8=========================================================================
9initial                      0           0                 (Not a test case)
101           ADD R1,R2,R3     1           0                       1.25
112           ADD R1,R2,R3     6           0                       1.25
123           ADD R1,R2,R3     7           0                       1.25
134           ADD R1,R2,R3     8           0                       1.25
145           ADD R1,R2,R3     9           0                       1.25
156imm        ADD R1, R2, x5   9           0                       1.25
166ccn        ADD R1, R1, x-5  9           0                       1.25
176ccz        ADD R1, R1, x-1  9           0                       1.25
187reg        AND R0, R5, R6   9           0                       1.25
197imm        AND R3, R2, xA   9           0                       1.25
208reg        XOR R1, R2, R3   9           0                       1.25
218imm        XOR R1, R2, xa   9           0                       1.25
228ccn        NOT R1, R1       9           0                       1.25
238ccp        NOT R7, R7       9           0                       1.25
249           TRAP x25         9           0                       1.25
2510          TRAP x25         14          0                       1.25
2611          TRAP x25         15          0                       1.25
2712          STW R7, R6, #0   9           0                       1.25
2813          STW R7, R6, #0   10          0                       1.25
2914          STW R7, R6, #0   15          0                       1.25
3015          STB R7, R6, #0   9           0                       1.25
3116          STB R7, R6, #0   10          0                       1.25
3217          STB R7, R6, #0   15          0                       1.25
3318          STB R7, R6, #1   9           0                       1.25
3419          STB R7, R6, #1   10          0                       1.25
3520          STB R7, R6, #1   15          0                       1.25
3621          LDW R0, R6, #0   9           0                       1.25
3722          LDW R0, R6, #0   14          0                       1.25
3823          LDW R0, R6, #0   15          0                       1.25
3924          LDB R0, R6, #0   9           0                       1.25
4025          LDB R0, R6, #0   14          0                       1.25
4126          LDB R0, R6, #0   15          0                       1.25
4227          LDB R0, R6, #1   9           0                       1.25
4328          LDB R0, R6, #1   14          0                       1.25
4429          LDB R0, R6, #1   15          0                       1.25
4530          LEA R2, label    9           0                       1.25
4631          JMP R2           9           0                       1.25
4732          JMP R2           10          0                       1.25
4833          JSRR R2          9           0                       1.25
4934          JSRR R2          10          0                       1.25
5035          JSRR R2          11          0                       1.25
5136          JSR  label       9           0                       1.25
5237          JSR  label       10          0                       1.25
5338          RET              9           0                       1.25
5439          LSHF R2, R3,#4   9           0                       1.25
5540          RSHFL R2, R6, #4 9           0                       1.25
5641          RSHFA R2, R6, #4 9           0                       1.25
5742          BRn label        10          0                       1.25
58=========================================================================
59Part B: Tests for correct functionality of instructions(2.5 points each)
60=========================================================================
61Instruction     Number of       Incorrect       Points
62                Differences
63=========================================================================
64add             0                               2.5
65and             0                               2.5
66br              2                  x            1.5
67jmp             0                               2.5
68jsr             0                               2.5
69jsrr            0                               2.5
70ldb             0                               2.5
71ldw             0                               2.5
72lea             0                               2.5
73lshf            0                               2.5
74rshfa           0                               2.5
75rshfl           0                               2.5
76stb             1                  x            2
77stw             1                  x            2
78trap            0                               2.5
79xor             0                               2.5
80=========================================================================
81Parts A and B - absolute points: 98 / 100
82Parts A and B - adjusted points: 78 / 80
83=========================================================================