fork download
  1. BITS 32
  2.  
  3. jmp short one
  4.  
  5. two:
  6. pop ecx
  7. xor eax, eax
  8. mov al, 4
  9. xor ebx, ebx
  10. inc ebx
  11. xor edx, edx
  12. mov dl, 15
  13. int 0x80
  14.  
  15. mov al, 1
  16. dec ebx
  17. int 0x80
  18.  
  19. one:
  20. call two
  21. msg db "Hello, world!", 0x0a, 0x0d
  22.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1:1: error: 'BITS' does not name a type
 BITS 32
 ^
stdout
Standard output is empty