Mock Examination: Principles and Applications of Microcontrollers
(Assembly-Streamlined Advanced Edition)
Part I: Core Basics & Hardware Principles (35%)
1. Unsigned Number Systems and Multi-Base Conversions (4%)
Complete the following integer representation conversion table:
| Binary | Decimal | Hexadecimal |
|---|---|---|
| 00111011 | (a) | (b) |
| (c) | 86 | (d) |
| (e) | (f) | B5 |
| (g) | 114 | (h) |
Advanced Hint: Pay careful attention to bit weights and the correct alphabetical mapping (A–F) for values exceeding 9 in hex.
2. Memory Footprint Quantification & Address Bus Mapping (10%)
A specialized microprocessor utilizes a 16-bit address line architecture. An external SRAM device is connected to the system, and the microcontroller maps this chip onto a physical memory footprint spanning from 0xD800 to 0xDFFF.
- (Sub-question 1) Calculate the exact data storage capacity allocated to this SRAM block in KB.
- (Sub-question 2) If we isolate the internal定址 (indexing) lines within this specific SRAM chip, what is the minimum number of bits (address lines) required to uniquely access every internal memory location?