Guest User

Untitled

a guest
Dec 11th, 2013
49
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
  31.  
  32. ------------------------------------------------------------------------------------ Hier die Funktion
  33.  
  34. message_limitl:
  35.     mov di,celllimitl
  36.     call print
  37.     jmp cmd
  38. message_limitr:
  39.     mov di,celllimitr
  40.     call print
  41.     jmp cmd
  42.  
  43. -------------------------Unterfunktion
  44. print:
  45.     lodsb
  46.     cmp al,0
  47.     je  print_done
  48.     mov ah,0eh
  49.     int 10h
  50.     jmp print
  51. print_done:
  52.     ret
Advertisement
Add Comment
Please, Sign In to add comment