diff options
-rw-r--r-- | sw/test.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/test.asm b/sw/test.asm index 6a8a29d..338067d 100644 --- a/sw/test.asm +++ b/sw/test.asm @@ -7,12 +7,12 @@ .text /* code goes to text section*/ .ent entry entry: - lw $t0, 0x1000 /* t0 = 1*/ - sw $t0, 0x1002 + lw $t0, 0x1000 /* t0 = 1*/ + sw $t0, 0x1002 lw $t1, 0x1001 /* t1 = 1*/ - lw $t1, 0x1000 /* t0 = 1*/ + lw $t1, 0x1000 /* t0 = 1*/ add $t0, $t0, $t1 /* t0 = t0 + t1 = 2*/ - sw $t0, 0x1200 + sw $t0, 0x1200 add $t0, $t0, 0xB /* t0 = t0 + 0xB == 0xD*/ sub $t0, $t0, $t1 /* t0 = t0 - $t1 == 0xC*/ or $t0, $t0, 0x10 /* t0 = t0 | 0x10 == 0x1C*/ |