Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created March 25, 2015 11:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shigemk2/e715aef8679359af4c25 to your computer and use it in GitHub Desktop.
Save shigemk2/e715aef8679359af4c25 to your computer and use it in GitHub Desktop.
a.out: file format elf32-bigmips
Disassembly of section .text:
00400018 <set_stack>:
void set_stack()
{
400018: 27bdfff8 addiu sp,sp,-8
int volatile a = 0xfe;
40001c: 240200fe li v0,254
400020: afa20000 sw v0,0(sp)
int volatile b = 0xff;
400024: 240200ff li v0,255
400028: afa20004 sw v0,4(sp)
}
40002c: 03e00008 jr ra
400030: 27bd0008 addiu sp,sp,8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment