border.asm 275 B

123456789101112131415161718192021222324
  1. .model small
  2. .code
  3. org 100h
  4. start:
  5. mov di, 158h
  6. mov bh, 0
  7. cool:
  8. mov ah, 0bh
  9. mov bl, [di]
  10. int 10h
  11. inc di
  12. mov ah, 01h
  13. int 16h
  14. mov cx, 0
  15. sss: PUSH AX
  16. POP AX
  17. loop sss
  18. jnz fend
  19. jmp cool
  20. fend: mov ah, 0bh
  21. mov bx, 0
  22. int 10h
  23. int 20h
  24. end start