fork download
  1. code segment
  2. assume cs:code,ds:code
  3. org 100h
  4.  
  5. start: mov bl,2bh
  6. mov cl,4
  7. mov dl,bl
  8. shr dl,cl
  9. add dl,30h
  10. cmp dl,'9'
  11. jbe ok_1
  12. add dl,7
  13. ok_1: mov ah,2
  14. int 21h
  15.  
  16. mov dl,bl
  17. and dl,0fh
  18. add dl,30h
  19. cmp dl,'9'
  20. jbe ok_2
  21. add dl,7
  22. ok_2: mov ah,2
  23. int 21h
  24.  
  25. mov ax,4c00h
  26. int 21h
  27. code ends
  28. end start
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:3: error: parser: instruction expected
prog.asm:27: error: symbol `code' redefined
prog.asm:27: error: parser: instruction expected
prog.asm:28: error: parser: instruction expected
stdout
Standard output is empty