Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

9. What RAM location (addresses 0 - 7Fh) is READ (R), or WRITTEN TO (W) for each of the following? ORGO MOV R1, #34h RAM

image text in transcribed
image text in transcribed
9. What RAM location (addresses 0 - 7Fh) is READ (R), or WRITTEN TO (W) for each of the following? ORGO MOV R1, #34h RAM Address = _h (W) RAM Address = h (R) and h(W) PUSH 2 SETB PSW.4 SETB PSW.3 MOV A, RZ CLR PSW.3 MOV A, R6 RAM Address = _h (R) RAM Address = __h (R) 10. What changes do you need to make to the code in question 5 so that the inner part of the loop (adding 1 to A) runs OFFFFh times. Hint: you just make two small changes. 5. Find the exact time delay for ENTIRE subroutine if the system frequency is 12.0 MHz. CIRCLE your final answer. Carry your answer to 2 decimal places. DELAY: AGAIN: HERE: MOV R2, #250 MOV R3, 4200 ADD A, #1 JNC SKIP INC R1 DJNZ R3, HERE DJNZ R2, AGAIN RET ;2 cycles ;2 cycles ;2 cycles 1 cycle 1 cycle :2 cycles ;2 cycles ;2 cycles SKIP

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

Students also viewed these Databases questions

Question

What three ways can a manager increase the return on investment?

Answered: 1 week ago