Guest User

Untitled

a guest
Jan 17th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. mov esi, msg
  2. mov edi, 0xB8000
  3. mov ah, 5 ; I like cyan
  4. top:
  5. lodsb
  6. test al, al ; zero-terminated string?
  7. jz end
  8. stosw ; store character and color
  9. jmp top
  10. end:
  11.  
  12. mov esi, msg
  13. mov edi, 0xB8000
  14. mov ah, 5 ; I like cyan
  15. top:
  16. lodsb
  17. test al, al ; zero-terminated string?
  18. jz end
  19. stosw ; store character and color
  20. jmp top
  21. end:
Add Comment
Please, Sign In to add comment