Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, can ya solve these questions for me? The programs that is written, it is for the 8085 assembly language. the photos that is part

Hello, can ya solve these questions for me?
The programs that is written, it is for the 8085 assembly language.
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
the photos that is part of 2 pages does include the question, i cannot make it any better as well.
what i meant about the 8085, the questions are based on this microprocessor image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
1. Write a main program to count continuously in binary with a one-second delay between each count and also write a service routine at XX70H to flash FFH five times when the program is interrupted, with some appropriate delay between each flash 3. The main program is stored beginning at 0100H. The main program (at 0120H ) has called the subroutinc at 0150H, and when the microprocessor is executing the FIGURE 12.11 Schernatic for on Interrupt instruction at location 0151 (L.XI), it is intermpled. Read the program, then answer the questions that follow: 9. Specify the contents of stack location 03FFH after the CALL instruction. b. Specify the stack locations where the contents of registers B and C are stored. c. When the program is interrupted, what is the memory address stored on the stack? Read the following program and answer the questions given below. a. What is stored in the stack pointer register after the execution of line 1? PROGRAMMING THE 8085 b. What is the memory location of the stack where the first data byte will be stored? c. What is stored in memory location 03FEH when line 5 (PUSH H) is executed? d. After the execution of line 6 (PUSH B), what is the address in the stack pointer register, and what is stored in stack memory location 03FDH? e. Specify the contents of register pair HL after the execution of line 20 (POP H). 3. The following program has a delay subroutine located at location 2060H. Read the program and answer the questions given at the end of the program. a. When the execution of the CALL instruction located at 2008H200AH is completed, list the contents stored at 20CCH and 20CBH, the contents of the program counter, and the contents of the stack pointer register. b. List the stack locations and their contents after the execution of the instructions PUSH H and PUSH B in the subroutine. c. List the contents of the stack pointer register after the execution of the instruction PUSH B located at 2061H. d. List the contents of the stack pointer register after the execution of the instruction RET in the subroutine. 5. Specify the register contents and the flag status as the following instructions are executed. 1. Write a main program to count continuously in binary with a one-second delay between each count and also write a service routine at XX70H to flash FFH five times when the program is interrupted, with some appropriate delay between each flash 5. Specify the register contents and the flag status as the following instructions are executed. Read the following program and answer the questions given below. a. What is stored in the stack pointer register after the execution of line 1? PROGRAMMING THE 8085 b. What is the memory location of the stack where the first data byte will be stored? c. What is stored in memory location 03FEH when line 5 (PUSH H) is executed? d. After the execution of line 6 (PUSH B), what is the address in the stack pointer register, and what is stored in stack memory location 03FDH? e. Specify the contents of register pair HL after the execution of line 20 (POP H). 3. The following program has a delay subroutine located at location 2060H. Read the program and answer the questions given at the end of the program. a. When the execution of the CALL instruction located at 2008H200AH is completed, list the contents stored at 20CCH and 20CBH, the contents of the program counter, and the contents of the stack pointer register. b. List the stack locations and their contents after the execution of the instructions PUSH H and PUSH B in the subroutine. c. List the contents of the stack pointer register after the execution of the instruction PUSH B located at 2061H. d. List the contents of the stack pointer register after the execution of the instruction RET in the subroutine. 3. The main program is stored beginning at 0100H. The main program (at 0120H ) has called the subroutinc at 0150H, and when the microprocessor is executing the FIGURE 12.11 Schernatic for on Interrupt instruction at location 0151 (L.XI), it is intermpled. Read the program, then answer the questions that follow: 9. Specify the contents of stack location 03FFH after the CALL instruction. b. Specify the stack locations where the contents of registers B and C are stored. c. When the program is interrupted, what is the memory address stored on the stack

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

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

Describe the patterns of business communication.

Answered: 1 week ago

Question

3. Provide two explanations for the effects of mass media

Answered: 1 week ago