forked from zhs04001/mips_sim_template_python
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix
- Loading branch information
berlingrad
committed
Apr 26, 2018
1 parent
166fb3a
commit 3e31586
Showing
3 changed files
with
46 additions
and
13 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Address Code Basic Source | ||
|
||
0x00400000 0x20010001 addi $1,$0,0x00000001 10 addi $1, $0, 1 | ||
0x00400004 0x0381e020 add $28,$28,$1 11 add $28, $28, $1 | ||
0x00400008 0x2002fffe addi $2,$0,0xfffffffe 13 addi $2, $0, -2 | ||
0x0040000c 0x0381e020 add $28,$28,$1 14 add $28, $28, $1 | ||
0x00400010 0x00221825 or $3,$1,$2 16 or $3, $1, $2 | ||
0x00400014 0x00232024 and $4,$1,$3 17 and $4, $1, $3 | ||
0x00400018 0x2005000a addi $5,$0,0x0000000a 19 addi $5, $0, 10 | ||
0x0040001c 0x10a0fff8 beq $5,$0,0xfffffff8 21 beq $5, $0, main | ||
0x00400020 0x10a50005 beq $5,$5,0x00000005 22 beq $5, $5, end | ||
0x00400024 0x00852822 sub $5,$4,$5 24 sub $5, $4, $5 | ||
0x00400028 0x20c603e8 addi $6,$6,0x000003e8 25 addi $6, $6, 1000 | ||
0x0040002c 0x8cc7fffc lw $7,0xfffffffc($6) 26 lw $7, -4($6) | ||
0x00400030 0xacc80064 sw $8,0x00000064($6) 27 sw $8, 100($6) | ||
0x00400034 0x0810000f j 0x0040003c 28 j exit | ||
0x00400038 0x08100009 j 0x00400024 30 j back |