Guest User

Untitled

a guest
Apr 23rd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. assume cs:code, ds:code ;dont really know what this does lol
  2. org 100h
  3. start:
  4.  
  5. mov ax,0B800h ;video memory
  6. mov es,ax ;es register now points toward video memory
  7.  
  8. mov byte ptr ES:[0],218 ;the corner character to go on the top left
  9. mov byte ptr ES:[2], 196 ;prints "-" next. this will eventually be the top outline of the grid
  10. mov byte ptr ES:[3], 196 ; was trying to print another "-" but a red box appeared?
  11.  
  12. end start
Add Comment
Please, Sign In to add comment