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) paste-bin - collaborative debugging tool View Help


Posted by Emanuel on Sat 19th May 08:46
download | new post

  1. segment .text
  2. align   4
  3. global  _main:function
  4. _main:
  5.         push    ebp
  6.         mov     ebp, esp
  7.         sub     esp, 0
  8. segment .text
  9. global  test
  10. segment .data
  11. align   4
  12. test:                                       ; nasm output -> "expression syntax error"
  13.         dd      3
  14.         dd      2
  15.         dd      1
  16. segment .text
  17.         pop     eax
  18.         leave
  19.         ret
  20. extern  readi
  21. extern  printi
  22. extern  prints
  23. extern  println

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.

Use syntax highlighting

To highlight particular lines, prefix each line with @@
:
:
Remember my settings