Question: . model small . data row db 0 ;Create a label and initialize column db 0 ;Create a label and initialize char db ? ;Create
model small
data
row db ;Create a label and initialize
column db ;Create a label and initialize
char db ;Create a label
code
main proc
mov ax @data
mov ds ax
call read
mov char,al
mov cx
fori:
mov bx
fork:
call cursor
call display
inc row
dec bx
jnz fork
inc column
sub row,
call cursor
loop fori
mov ah
int h ;Program terminate
QUIT: RET
endp
display proc ;write
mov dlchar
mov ah
int h ;Character input with echo
ret
display endp
read proc
mov ah
int h ;Character input with echo
ret
read endp
cursor proc
mov ahh
mov bhh
mov dlcolumn
mov dhrow
int h
ret
cursor endp
end main
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
