Chapter 5: Problem 19
Find the contents of register R20 after each of the following instructions: \(\begin{array}{llllll}\text { (a) LDI } & R 20,0 \times 65 & \text { (b) } & \text { LDI } & R 20, \\ \text { LDI } & R 21,0 \times 76 & & \text { LDI } & R 21,0 \times 6 \mathrm{~B} \\ & \text { AND } & R 20, R 21 & & \text { OR } & R 20, & R 21 \\ \text { (c) LDI } & R 20,0 \times 95 & \text { (d) } & \text { LDI } & R 20, & 0 \times 5 \mathrm{D} \\ & \text { LDI } & R 21,0 \times A A & & \text { LDI } & R 21, & 0 \times 75 \\ & \text { EOR } & R 20, R 21 & & \text { AND } & R 20, & R 21 \\ \text { (e) LDI } & R 20,0 \times 0 \mathrm{C} 5 & \text { (f) } & \text { LDI } & R 20, & 0 \times 6 \mathrm{~A} \\\ & \text { LDI } & R 21,0 \times 12 & & \text { LDI } & R 21, & 0 \times 6 \mathrm{E} \\ & \text { OR } & R 20, R 21 & & \text { EOR } & R 20, & R 21\end{array}\) \(\begin{array}{cl}\text { (g) LDI } & \text { R20, 0x37 } \\ \text { LDI } & \text { R21, 0x26 } \\ \text { OR } & \text { R20, R21 }\end{array}\)
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.