Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Reading RIEn 306 Lab 4 Spring 20 the Screen from the keyboard and writing to Lab 3 demonstrated how information be written to to the

image text in transcribed
image text in transcribed
Reading RIEn 306 Lab 4 Spring 20 the Screen from the keyboard and writing to Lab 3 demonstrated how information be written to to the In Lab goal is can writing Int reading from the keyboard and to 16 the keyboard operation (or The following services performed depending on the value in the AH register o Read the next character from the keyboard 1 eport whether or not a character is ready 2 Get shift status A program to get a character from the keyboard (without testing if a character is ready) and place that character in location 400 is as follows: SUB AH, AH INT 16H MOV (400) ,AL INT 20H I. Write and demonstrate programs as follows A. Read a character from the keyboard and place the results in address 400 After the program has been executed examine memory location 400 for confirmation. B. Read your name from the keyboard and place the letters in consecutive locations starting at address 400 Examine memory for confirmation. Hint: Two of the instructions should be MOV [BX] ,AL and INC BX. C. Add to part B so that your name will be printed on the screen as follows: 1. Write each character immediately as you type it (Use the previous experiment (See reference program on next page 2. Place a period after your name and have the computer print your entire name when it sees the period. Use the compare instruction (See reference program on next page. D. Have the computer read several numbers from the keyboard followed by the closed parentheses symbol The numbers are to be printed to the screen when a is found. You will again use the compare instruction. II. Discuss the Results of each programming exercise

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago