Play with VRAM using String Instructions Objective:- To practice using string assembly language instructions on VRAM. Equipment:- PC Procedure:- Use NOTEPAD text editor to write assembly code using string instructions namely for each of the following: 1. Fill the PC screen with the '#' character using string instructions. 2. Modify the first code to fill the upper half of the screen with 'A' and the lower half with 'B' using different color for each half. 3. Write a new code that finds the first difference between the upper half and the lower half of the PC screen and change its color. 4. Modify the last code to find all the differences between both PC screen halves and change their colors. 5. You can use the program structure as shown below. code segment assume cs:code Start: microprocessor 8086 exit: mov int 21h ax,4c00h ; Examples for memory reservation if needed data db 'a', 'b', 'c', 55, 17h..... X dw 1234h color db 26h block1 db 100 dup(0) block2 db 200 dup(?) code ends end start Test them using Debug, write them on LAB paper with comments and describe the results.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Play with VRAM using String
Instructions
Objective:-
To practice using string assembly language instructions on VRAM.
Equipment:-
PC
Procedure:-
Use NOTEPAD text editor to write assembly code using string instructions namely for each
of the following:
1. Fill the PC screen with the '#' character using string instructions.
2. Modify the first code to fill the upper half of the screen with 'A' and the lower half with
'B' using different color for each half.
3. Write a new code that finds the first difference between the upper half and the lower half
of the PC screen and change its color.
4. Modify the last code to find all the differences between both PC screen halves and
change their colors.
5. You can use the program structure as shown below.
code segment
assume cs:code
Start:
microprocessor 8086
exit:
mov
int 21h
ax,4c00h
; Examples for memory reservation if needed
data
db 'a', 'b', 'c', 55, 17h.....
X
dw 1234h
color db 26h
block1 db 100 dup(0)
block2 db 200 dup(?)
code ends
end start
Test them using Debug, write them on LAB paper with comments and describe the results.
Transcribed Image Text:Play with VRAM using String Instructions Objective:- To practice using string assembly language instructions on VRAM. Equipment:- PC Procedure:- Use NOTEPAD text editor to write assembly code using string instructions namely for each of the following: 1. Fill the PC screen with the '#' character using string instructions. 2. Modify the first code to fill the upper half of the screen with 'A' and the lower half with 'B' using different color for each half. 3. Write a new code that finds the first difference between the upper half and the lower half of the PC screen and change its color. 4. Modify the last code to find all the differences between both PC screen halves and change their colors. 5. You can use the program structure as shown below. code segment assume cs:code Start: microprocessor 8086 exit: mov int 21h ax,4c00h ; Examples for memory reservation if needed data db 'a', 'b', 'c', 55, 17h..... X dw 1234h color db 26h block1 db 100 dup(0) block2 db 200 dup(?) code ends end start Test them using Debug, write them on LAB paper with comments and describe the results.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY