fork download
  1. global _start
  2.  
  3. section .data
  4. buffer dw 0h
  5.  
  6. section .text
  7.  
  8. _start:
  9. mov ax, buffer
  10. mov bx, 0234h
  11.  
  12.  
  13. read:
  14. mov ax, 03h ; read()
  15. mov bx, 00h ; stdin
  16. int 80h
  17. ret
  18. write:
  19. mov ax, 04h ; write()
  20. mov bx, 01h ; stdout
  21. int 80h
  22. ret
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.o: In function `_start':
prog.asm:(.text+0x2): relocation truncated to fit: R_386_16 against `.data'
stdout
Standard output is empty