Created
March 25, 2015 11:19
-
-
Save shigemk2/bd37c8d2d110891703d7 to your computer and use it in GitHub Desktop.
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
a.out: file format elf32-bigmips | |
Disassembly of section .text: | |
00400018 <set_stack>: | |
400018: 27bdfff0 addiu sp,sp,-16 | |
40001c: afbe000c sw s8,12(sp) | |
400020: 03a0f021 move s8,sp | |
400024: 240200fe li v0,254 | |
400028: afc20000 sw v0,0(s8) | |
40002c: 240200ff li v0,255 | |
400030: afc20004 sw v0,4(s8) | |
400034: 03c0e821 move sp,s8 | |
400038: 8fbe000c lw s8,12(sp) | |
40003c: 27bd0010 addiu sp,sp,16 | |
400040: 03e00008 jr ra | |
400044: 00000000 nop |
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
void set_stack() | |
{ | |
int a = 0xfe; | |
int b = 0xff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment