QUESTIONS FROM PAPER ARE BELOW THE PICTURE. NEED HELP CREATING ASSEMBLY CODE FOR SDK-85
Problem #1: Write and run a Program that will display on the
data field of your sdk-85, A counter MOD 10 (00-09) with the
Following timing.
(A) The 10 digits will display one after the other in Ascending
order, And the time between succesive digits should be 1/2 second.
Therefore the display for the count will last 5 seconds, from the
initital display 00 to the last 09.
(B) Repeat Part A for the case of 1 second and 10 seconds between
digits.
Problem #2: Repeat problem #1 for the case of a down counter MOD 10 (Display : 09, 08, 07,....... 01, 00)
Problem #3 Create a 2 digit decimal up counter (From 00 - 99) with a 1 second display for each digit.
Problem 1:
LXI H 2000
XRA A
XX: MOV M A
STA 27F6
MVI B 00
PUSH H
CALL MODDT (06FA)
CALL DELAY
POP H
MOV A M
INR A
CPI 0A
JC XX
XRA A
JMP XX
HLT
DELAY: LXI D FFFF(Delay of 0.5 s)
CALL DELAY(03BC)
RET
(B) To get delay of 1 s and 10 s we only need to change the time delay in the delay function.
Problem 2:
The down counter program is given by:
LXI H 2000
MVI A 09
XX: MOV M A
STA 27F6
MVI B 00
PUSH H
CALL MODDT (06FA)
CALL DELAY
POP H
MOV A M
DCR A
CPI FF
JNZ XX
MVI A 09
JMP XX
HLT
DELAY: LXI D FFFF(Delay of 0.5 s)
CALL DELAY(03BC)
RET
Problem 3:
For the 00-99 decimal counter the code is:
LXI H 2000
XRA A
XX: MOV M A
STA 27F6
MVI B 00
PUSH H
CALL MODDT (06FA)
CALL DELAY
POP H
MOV A M
ADI 01
DAA
CPI 9A
JC XX
XRA A
JMP XX
HLT
DELAY: LXI D FFFF(Delay of 0.5 s)
CALL DELAY(03BC)
DELAY: LXI D FFFF(Delay of 0.5 s)
CALL DELAY(03BC)
RET
QUESTIONS FROM PAPER ARE BELOW THE PICTURE. NEED HELP CREATING ASSEMBLY CODE FOR SDK-85 Problem #1:...
Need this in C
Code is given below
e Dots l lah dit Problem 1. (30 points) Fre bendord.cto obtain the free in decimal representation For ATY. this problem we complete the code in i tive long inte ens (W written the following positive long term 123, 40, 56, 7, 8, 9, 90, 900 the frequencies of all the digits are: 0:4, 1:1, 2:1, 3:1, 4:1, 5:1, 6:1, 7: 1. 8: 1.9: 3 In this example, the free ency of...
I need help with this assignment in C++,
please!
*** The instructions and programming style details
are crucial for this assignment!
Goal: Your assignment is to write a C+ program to read in a list of phone call records from a file, and output them in a more user-friendly format to the standard output (cout). In so doing, you will practice using the ifstream class, I'O manipulators, and the string class. File format: Here is an example of a file...
Need help starting from question 9. I have tried multiple codes
but the program says it is incorrect.
Case Problem 1 Data Files needed for this Case Problem: mi pricing_txt.html, mi_tables_txt.css, 2 CSS files, 3 PNG files, 1 TXT file, 1 TTF file, 1 WOFF file 0 Marlin Internet Luis Amador manages the website for Marlin Internet, an Internet service provider located in Crystal River, Florida. You have recently been hired to assist in the redesign of the company's website....
write a code on .C file
Problem Write a C program to implement a banking application system. The program design must use a main and the below functions only. The program should use the below three text files that contain a set of lines. Sample data of these files are provided with the assessment. Note that you cannot use the library string.h to manipulate string variables. For the file operations and manipulations, you can use only the following functions: fopen(),...
please help with my pre lab
additional information
Pre-Lab Questions: 1. What is the definition of an 'equivalence point' in an acid/base titration? (1 point) 2. In part one of the experiment, you will prepare the acid solutions being titrated from a stock solution. Describe how you will accurately prepare 10.00 mL of 0.100 M HCl solution using a 1.00 M HCI stock solution. In your response to this question, be very specific about the quantities of stock solution and...