Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a) Load the numbers OOH, '1FH, 2EH, 44H, 87H, 09H, 10H, EAH, 5EH, 3CH, 2BH, AOH, AIH, A4H, FFH, FEH, 10H and 02H into memory
a) Load the numbers OOH, '1FH, 2EH, 44H, 87H, 09H, 10H, EAH, 5EH, 3CH, 2BH, AOH, AIH, A4H, FFH, FEH, 10H and 02H into memory starting at location 20B0H. At 8085 microprocess A 10 i { 4 2 3 2 1100 B 0 0 17 b) Write an 8085 program that compares each two successive numbers, and counts the number of even numbers. The comparison is to be carried out in a subroutine. c) Display the number of such cases, and also store it at memory location 20AFH. d) Execute your program (for two loops only) one step at a time, and record the value of the stack pointer at each step
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started