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 Tom Strong on Sat 19th May 05:52
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  texto
  10. segment .data
  11. align   4
  12. texto:
  13.         db      "yo", 0
  14. segment .text
  15. segment .text
  16. global  test
  17. segment .data
  18. align   4
  19. test:                         ;expression syntax error
  20.         dd      5
  21. segment .text
  22.         push    dword $test
  23.         pop     eax
  24.         push    dword [eax]
  25.         call    printi
  26.         call    println
  27.         add     esp, 4
  28.         push    dword 0
  29.         pop     eax
  30.         leave
  31.         ret
  32. extern  readi
  33. extern  printi
  34. extern  prints
  35. 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