Modify the demo program to move the string from leftmost side to the rightmost side of the screen 5 times. how to repeat

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Modify the demo program to move the string from leftmost side to the rightmost side of the screen 5 times. how to repeat

Post by answerhappygod »

Modify the demo program to move the string from leftmostside to the rightmost side of the screen 5 times.
how to repeat the string 5 times by modifying thedemo program below?
Modify The Demo Program To Move The String From Leftmost Side To The Rightmost Side Of The Screen 5 Times How To Repeat 1
Modify The Demo Program To Move The String From Leftmost Side To The Rightmost Side Of The Screen 5 Times How To Repeat 1 (5.53 KiB) Viewed 39 times
.model small.stack.data strg db 'Mapua$' row db 12 col db 0.codemain 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 int 10h
mov cx,76
again: push cx mov ah,2 mov bh,0 mov dh,row mov dl,col int 10h
mov ah,9 mov dx,offset strg int 21h
inc col
mov cx,10y: push cx mov cx,0ffffhx: loop x pop cx loop y
pop cx loop again
mov ah,4ch int 21hmain endpend main
BOX DOSBox 0.74-3, Cpu speed: 3000 cycles, Frameskip 0, Program: DOSBOX . I X MMMMMapua
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply