Hi, I am a beginner at assembly language and want to make a program which displays something on the screen and I can use the arrows on my keyboard to move it around. I have developed code to display the text but am unsure as tohow I go about moving it around the screen. here is my code so far:
Code:
a
push ds
mov dx, b800
mov ds, dx
nop
mov bx, 0A42
nop
mov ax, 8041
mov [bx], ax
nop
pop ds
mov ah, 00
nop
a
push ds
mov dx, b800
mov ds, dx
nop
mov bx, 0A44
nop
mov ax, 8043
mov [bx], ax
nop
pop ds
mov ah, 00
nop
a
push ds
mov dx, b800
mov ds, dx
nop
mov bx, 0A46
nop
mov ax, 804B
mov [bx], ax
nop
pop ds
mov ah, 00
nop
int21
Thanks,