Guest User

Untitled

a guest
Jul 15th, 2020
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [BITS 16]
  2. [ORG 0x7C00]
  3. MOV SI, Msg
  4. CALL OutStr
  5. JMP $
  6. OutChar:
  7. MOV AH, 0x0E
  8. MOV BH, 0x00
  9. MOV BL, 0x07
  10. INT 0x10
  11. RET
  12. OutStr:
  13. next_char:
  14. MOV AL, [SI]
  15. INC SI
  16. OR AL, AL
  17. JZ exit_function
  18. CALL OutChar
  19. JMP next_char
  20. exit_function:
  21. RET
  22. Msg db 0xA, 0xD, 0xA, 0xD
  23.    db '############################################################', 0xA, 0xD
  24.    db '# -=KARMA=- .-..-.  .--.  .---. .-.  .-.  .--.   -=KARMA=- #', 0xA, 0xD
  25.    db '# -=KARMA=- | ` /  / {} \ } }}_}}  \/  { / {} \  -=KARMA=- #', 0xA, 0xD
  26.    db '# -=KARMA=- | . \ /  /\  \| } \ | {  } |/  /\  \ -=KARMA=- #', 0xA, 0xD
  27.    db '# -=KARMA=- `-``-``-`  `-``-`-` `-`  `-``-`  `-` -=KARMA=- #', 0xA, 0xD
  28.    db '############################################################', 0xA, 0xD, 0xA, 0xD
  29.    db 'Well, life is like that sometimes.', 0xA, 0xD, 0xA, 0xD
  30.    db 'Have a nice day,', 0xA, 0xD
  31.    db '     Vector Security', 0
  32. TIMES 510 - ($ - $$) db 0
  33. DW 0xAA55
Advertisement
Add Comment
Please, Sign In to add comment