fork download
  1. CSEG segment
  2. org 100h
  3.  
  4. begin:
  5. sub cx, cx
  6. mov cx, offset vx
  7. sub dx, dx
  8. mov dx, offset end_vx
  9. sub dx, cx
  10. mov cx, dx
  11.  
  12. mov si, offset vx
  13. mov al, 91h
  14. crypt:
  15. xor byte ptr [si], al
  16. inc si
  17. loop crypt
  18.  
  19. mov cx, dx
  20. mov si, offset vx
  21. decrypt:
  22. xor byte ptr [si], al
  23. inc si
  24. loop decrypt
  25.  
  26.  
  27. vx:
  28. mov dx, offset zp
  29. mov ah, 9
  30. int 21h
  31. int 20h
  32. end_vx:
  33.  
  34. zp db 'Zaloopa!$'
  35.  
  36. CSEG ends
  37. end begin
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.asm:1: error: parser: instruction expected
prog.asm:2: error: parser: instruction expected
prog.asm:6: error: comma, colon, decorator or end of line expected after operand
prog.asm:8: error: comma, colon, decorator or end of line expected after operand
prog.asm:12: error: comma, colon, decorator or end of line expected after operand
prog.asm:15: error: comma, colon, decorator or end of line expected after operand
prog.asm:20: error: comma, colon, decorator or end of line expected after operand
prog.asm:22: error: comma, colon, decorator or end of line expected after operand
prog.asm:28: error: comma, colon, decorator or end of line expected after operand
prog.asm:36: error: symbol `CSEG' redefined
prog.asm:36: error: parser: instruction expected
prog.asm:37: error: parser: instruction expected
ld: cannot find prog.o: No such file or directory
stdout
Standard output is empty