You have been provided with the Primer trainer as shown in the Figure 1.0. You are required to develop a program of Count Down Timer. The timer should have the following the conditions.

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

This is example i want to understand can you write the code plz 

12:09 AM Mon 21 Mar
- © 100%
...
elearning-v4.unisel.edu.my a – Private
SHUCON
8085 MICROPROCESSR KIT
ST4
10-
STRONDO
6THRS
Figure 1.0
You have been provided with the Primer trainer as shown in the Figure 1.0. You are
required to develop a program of Count Down Timer. The timer should have the
following the conditions.
Conditions:
1. The program will count down from the packed BCD number in the HL register pair
to 0 at a time increment determined by the hex number in the DE register pair.
2. When the count =0, the alarm will sound, and the LEDS will light.
3. The alarm can be discontinued, and the program terminated by pressing any key on
the keypad.
4. After typing in the program, load the HL and DE register pairs as follows:
a. Load the HL register with the desired time interval.
i. Format = packed BCD
range = 9999 to 0001
Transcribed Image Text:12:09 AM Mon 21 Mar - © 100% ... elearning-v4.unisel.edu.my a – Private SHUCON 8085 MICROPROCESSR KIT ST4 10- STRONDO 6THRS Figure 1.0 You have been provided with the Primer trainer as shown in the Figure 1.0. You are required to develop a program of Count Down Timer. The timer should have the following the conditions. Conditions: 1. The program will count down from the packed BCD number in the HL register pair to 0 at a time increment determined by the hex number in the DE register pair. 2. When the count =0, the alarm will sound, and the LEDS will light. 3. The alarm can be discontinued, and the program terminated by pressing any key on the keypad. 4. After typing in the program, load the HL and DE register pairs as follows: a. Load the HL register with the desired time interval. i. Format = packed BCD range = 9999 to 0001
b. Load the DE register pair with the time scaler
i. Format = hex
range = 0001h to FFFFH
5. The time scaler determines how many hundredths of seconds must pass before the
counter is decremented.
time scaler.
6. The time interval between decrements will be (me seuter). Example if the scaler is
100
0064h (100 in decimal) the timer will decrement once in a second. If the scaler is
1770h (6000 in decimal) the timer will count decrement once for every 60 seconds.
Transcribed Image Text:b. Load the DE register pair with the time scaler i. Format = hex range = 0001h to FFFFH 5. The time scaler determines how many hundredths of seconds must pass before the counter is decremented. time scaler. 6. The time interval between decrements will be (me seuter). Example if the scaler is 100 0064h (100 in decimal) the timer will decrement once in a second. If the scaler is 1770h (6000 in decimal) the timer will count decrement once for every 60 seconds.
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