Modify the given code to move the string from leftmost side to the rightmost side of the screen (no trails). Given Code: .model small .stack .data strg db 'Mapua$' row db 12 col db 0 .code main proc mov ax,@data mov ds,ax mov ah,6 mov al,0 mov bh,7 mov ch,0
Modify the given code to move the string from leftmost side to the rightmost side of the screen (no trails). Given Code: .model small .stack .data strg db 'Mapua$' row db 12 col db 0 .code main proc mov ax,@data mov ds,ax mov ah,6 mov al,0 mov bh,7 mov ch,0
Principles of Information Systems (MindTap Course List)
13th Edition
ISBN:9781305971776
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter3: Hardware And Mobile Devices
Section: Chapter Questions
Problem 1SAT
Related questions
Question
100%
Modify the given code to move the string from leftmost side to the rightmost side of the screen (no trails).
Given Code:
.model small
.stack
.data
strg db 'Mapua$'
row db 12
col db 0
.code
main proc
mov ax,@data
mov ds,ax
mov ah,6
mov al,0
mov bh,7
mov ch,0
mov cl,0
mov dh,24
mov dl,79
mov cx,40
again:push cx
mov ah,2
mov bh,0
mov dh,row ;row
mov dl,col ;col
int 10h
mov ah,9
mov dx,offset strg
int 21h
inc col
mov cx,10
push cx
mov cx,0ffffh
x: loop x
pop cx
loop y
pop cx
loop again
mov ah,4ch
int 21h
main endp
end main
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning