Guest User

Untitled

a guest
Dec 11th, 2013
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cellleft:
  2.     mov ax,001
  3.     cmp ax,cellactual
  4.     je  message_limitl
  5.    
  6.     mov bx,cellactual
  7.     mov cx,[cellpage1+bx]
  8.     mov [cellcontent],cx
  9.    
  10.     mov ax,[cellactual]
  11.     dec ax
  12.     mov [cellactual],ax
  13.    
  14.     mov [promt],ax
  15.     ret
  16. cellright:
  17.     mov ax,512
  18.     cmp ax,cellactual
  19.     je  message_limitr
  20.    
  21.     mov bx,cellactual
  22.     mov cx,[cellpage1+bx]
  23.     mov [cellcontent],cx
  24.    
  25.     mov ax,cellactual
  26.     inc ax
  27.     mov [cellactual],ax
  28.    
  29.     mov [promt],ax
  30.     ret
Advertisement
Add Comment
Please, Sign In to add comment