Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mips_sim_template_python/tv01.txt
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17 lines (16 sloc)
1.05 KB
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
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 |