Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cellleft:
- mov ax,001
- cmp ax,cellactual
- je message_limitl
- mov bx,cellactual
- mov cx,[cellpage1+bx]
- mov [cellcontent],cx
- mov ax,[cellactual]
- dec ax
- mov [cellactual],ax
- mov [promt],ax
- ret
- cellright:
- mov ax,512
- cmp ax,cellactual
- je message_limitr
- mov bx,cellactual
- mov cx,[cellpage1+bx]
- mov [cellcontent],cx
- mov ax,cellactual
- inc ax
- mov [cellactual],ax
- mov [promt],ax
- ret
- ------------------------------------------------------------------------------------ Hier die Funktion
- message_limitl:
- mov di,celllimitl
- call print
- jmp cmd
- message_limitr:
- mov di,celllimitr
- call print
- jmp cmd
- -------------------------Unterfunktion
- print:
- lodsb
- cmp al,0
- je print_done
- mov ah,0eh
- int 10h
- jmp print
- print_done:
- ret
Advertisement
Add Comment
Please, Sign In to add comment