Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Below are portions of a list file. What value is contained in R12 after the following line(189) executes? 0x___________ 189 00C0CA 3C4000E0 mov #PatternTable1, R12

Below are portions of a list file.

What value is contained in R12 after the following line(189) executes? 0x___________

189 00C0CA 3C4000E0 mov #PatternTable1, R12 ; point to beginning of Pattern Table 1

;; >>> some code left out in interest of space

269 00E000 PatternTable1 ; this is just an example table (or perhaps the more

270 00E000 FC Row0 DB %11111100 ; familar concept is this is an array of bytes

271 00E001 D3 Row1 DB %11010011 ; containing 3 bytes as defined here)

272 00E002 A6 Row2 DB %10100110 ; PatternTable1 is the name of the table (or array)

10. After line 189 above executes, suppose the next line is:

mov.b @R12, &P1OUT

What actual hexadecimal value gets written to PORT 1? __________________h

11. Same as question 15 above, but instead the next line is:

mov.b 2(R12), &P1OUT

What actual hexadecimal value gets written to PORT 1? __________________h

12. Same as question 15 above, but instead the next line is:

mov.b 0(R12), &P1OUT

What actual hexadecimal value gets written to PORT 1? __________________h

13. Same as question 15 above, but instead the next line is:

mov.b 1(R12), &P1OUT

What actual hexadecimal value gets written to PORT 1? __________________h

14. Suppose the line was instead: mov.b @R12+, &P1OUT

How is the overall behavior different for this case?

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

Database Processing Fundamentals Design And Implementation

Authors: David M. Kroenke

5th Edition

B000CSIH5A, 978-0023668814

More Books

Students also viewed these Databases questions