pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

ASM (NASM based) pastebin - collaborative debugging tool View Help


Posted by dw on Thu 2 Oct 01:43
report abuse | download | new post

  1. _original:
  2.     pushl   %ebp
  3.     movl    %esp, %ebp
  4.     subl    $24, %esp
  5.     movl    -12(%ebp), %eax
  6.     andl    $-4, %eax
  7.     orl $1, %eax
  8.     movl    %eax, -12(%ebp)
  9.     movl    -12(%ebp), %eax
  10.     andl    $-29, %eax
  11.     orl $8, %eax
  12.     movl    %eax, -12(%ebp)
  13.     movl    -12(%ebp), %eax
  14.     andl    $31, %eax
  15.     orl $96, %eax
  16.     movl    %eax, -12(%ebp)
  17.     leave
  18.     ret
  19. _first:
  20.     pushl   %ebp
  21.     movl    %esp, %ebp
  22.     subl    $24, %esp
  23.     movl    $1, -20(%ebp)
  24.     movl    $2, -16(%ebp)
  25.     movl    $3, -12(%ebp)
  26.     leave
  27.     ret
  28. _second:
  29.     pushl   %ebp
  30.     movl    %esp, %ebp
  31.     subl    $24, %esp
  32.     movb    $1, -12(%ebp)
  33.     movb    $2, -11(%ebp)
  34.     movw    $3, -10(%ebp)
  35.     leave
  36.     ret

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with @@


Remember me so that I can delete my post