Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
moamoa
committed
Feb 28, 2020
1 parent
194745f
commit dd76072
Showing
5 changed files
with
53 additions
and
36 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
00000013 0 00000000 80000000 80000004 // nop | ||
20000093 1 00000200 80000004 80000008 // li ra, 512 | ||
80002137 2 80002000 80000008 8000000c // lui sp, 0x80002 | ||
02008093 1 00000220 8000000c 80000010 // addi ra, ra, 32 | ||
002081b3 3 80002220 80000010 80000014 // add gp, ra, sp | ||
01c000ef 1 80000018 80000014 80000030 // jal pc + 0x1c | ||
fe010113 2 80001fe0 80000030 80000034 // addi sp, sp, -32 | ||
00812e23 e 80001ffc 80000034 80000038 // sw s0, 28(sp) | ||
02010413 8 80002000 80000038 8000003c // addi s0, sp, 32 | ||
00100793 1 00000001 8000003c 80000040 // li a5, 1 | ||
fef42623 e 80001fec 80000040 80000044 // sw a5, -20(s0) | ||
fec42783 1 00000001 80000044 80000048 // lw a5, -20(s0) | ||
00178793 1 00000002 80000048 8000004c // addi a5, a5, 1 | ||
fef42423 e 80001fe8 8000004c 80000050 // sw a5, -24(s0) | ||
fe842783 1 00000002 80000050 80000054 // lw a5, -24(s0) | ||
00078513 1 00000002 80000054 80000058 // mv a0, a5 | ||
01c12403 8 00000000 80000058 8000005c // lw s0, 28(sp) | ||
02010113 2 80002000 8000005c 80000060 // addi sp, sp, 32 | ||
00008067 0 00000000 80000060 80000018 // ret | ||
00100293 5 00000001 80000018 8000001c // li t0, 1 | ||
00000317 6 8000001c 8000001c 80000020 // auipc t1, 0x0 | ||
06430313 6 80000080 80000020 0 // addi t1, t1, 100 | ||
00000013 00 00000000 80000000 80000004 // nop | ||
20000093 01 00000200 80000004 80000008 // li ra, 512 | ||
80002137 02 80002000 80000008 8000000c // lui sp, 0x80002 | ||
02008093 01 00000220 8000000c 80000010 // addi ra, ra, 32 | ||
002081b3 03 80002220 80000010 80000014 // add gp, ra, sp | ||
01c000ef 01 80000018 80000014 80000030 // jal pc + 0x1c | ||
fe010113 02 80001fe0 80000030 80000034 // addi sp, sp, -32 | ||
00812e23 00 00000000 80000034 80000038 // sw s0, 28(sp) | ||
02010413 08 80002000 80000038 8000003c // addi s0, sp, 32 | ||
00100793 15 00000001 8000003c 80000040 // li a5, 1 | ||
fef42623 00 00000000 80000040 80000044 // sw a5, -20(s0) | ||
fec42783 15 00000001 80000044 80000048 // lw a5, -20(s0) | ||
00178793 15 00000002 80000048 8000004c // addi a5, a5, 1 | ||
fef42423 00 00000000 8000004c 80000050 // sw a5, -24(s0) | ||
fe842783 15 00000002 80000050 80000054 // lw a5, -24(s0) | ||
00078513 10 00000002 80000054 80000058 // mv a0, a5 | ||
01c12403 08 00000000 80000058 8000005c // lw s0, 28(sp) | ||
02010113 02 80002000 8000005c 80000060 // addi sp, sp, 32 | ||
00008067 00 00000000 80000060 80000018 // ret | ||
00100293 05 00000001 80000018 8000001c // li t0, 1 | ||
00000317 06 8000001c 8000001c 80000020 // auipc t1, 0x0 | ||
06430313 06 80000080 80000020 0 // addi t1, t1, 100 |
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
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