fork download
  1. org 0x7c00
  2. bits 16
  3. xor ax, ax
  4. mov ds, ax
  5. start:
  6. cli
  7. mov si, msg
  8. mov ah, 0x0e
  9. .loop:
  10. lodsb
  11. or al, al
  12. jz halt
  13. int 0x10
  14. jmp .loop
  15. halt:
  16. hlt
  17. msg:
  18. db "hello world", 0
  19. times 510 - ($-$$) db 0
  20. dw 0xaa55
Compilation error #stdin compilation error #stdout 0s 5288KB
stdin
Standard input is empty
compilation info
prog.asm:1: error: parser: instruction expected
ld: cannot find prog.o: No such file or directory
stdout
Standard output is empty