Skip to content

Commit

Permalink
Cleanupx
Browse files Browse the repository at this point in the history
  • Loading branch information
matsimon committed Apr 7, 2011
1 parent 13f7e7f commit 4a7a717
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 141 deletions.
18 changes: 9 additions & 9 deletions serie2/muster/test.c
Expand Up @@ -129,18 +129,18 @@ void test_ori() {
void test_sub() {
T2 = 1;
T1 = 1;
test_execute(create_rtype_hex( FC_SUB, 0, I_T0, I_T1, I_T2, OC_SUB));
assert(T0 == 0);
test_execute(create_rtype_hex( FC_SUB, 0, I_T0, I_T1, I_T2, OC_SUB));
assert(T0 == 0);

T2 = 1;
T2 = 1;
T1 = -1;
test_execute(create_rtype_hex( FC_SUB, 0, I_T0, I_T1, I_T2, OC_SUB));
assert(T0 == 2);
test_execute(create_rtype_hex( FC_SUB, 0, I_T0, I_T1, I_T2, OC_SUB));
assert(T0 == 2);

T2 = 1;
T1 = -1;
test_execute(create_rtype_hex( FC_SUB, 0, I_T0, I_T1, I_T2, OC_SUB));
assert(T0 == 2);
T2 = 1;
T1 = -1;
test_execute(create_rtype_hex( FC_SUB, 0, I_T0, I_T1, I_T2, OC_SUB));
assert(T0 == 2);

}

Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions serie2/skeleton/test.c
Expand Up @@ -89,6 +89,7 @@ void test_jal() {
pc += 4;
operations[instruction->i.opcode].operation(instruction);
assert(RA == pcSaved + 4);
printf(pc);
assert(pc == 0xA0000004);
}

Expand Down
132 changes: 0 additions & 132 deletions serie2/test.patch

This file was deleted.

0 comments on commit 4a7a717

Please sign in to comment.