Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem #1 (25 points) Address Space, Memory Consider a hypothetical 23-bit processor called HYP23 with all registers, including PC and SP, being 23 bits long.

image text in transcribed
Problem \#1 (25 points) Address Space, Memory Consider a hypothetical 23-bit processor called HYP23 with all registers, including PC and SP, being 23 bits long. The smallest addressable unit in memory is an 8-bit byte. A. (4 points) What is the size of HYP23's address space in bytes, KiB ( 210 bytes), and MiB ( 220 bytes)? How many address lines does HYP 23 require? Address space: Bytes Address space: KiB (KiloBytes). Address bus lines: Address space: MiB (MegaBytes). B. (6 points) Assume that first quarter of the address space (starts at the address 0x00000) is dedicated to HYP23's RAM memory and the upper half of the address space is reserved for HYP23's Flash memory. Give address ranges for the RAM and Flash memories. Fill in the table below. What are the sizes of the RAM memory and the Flash memory? RAM memory size [Bytes/KiB]: Flash memory size [bytes/KiB]: The MSP430F20x is a microcontroller with 64KiB of address space divided between code memory (flash), RAM memory, and input/output peripherals. It has 2,048 Bytes of RAM memory starting at the address 0x0200, and 256 Bytes of address space reserved for special purpose registers and 8-bit input/output peripherals (starting at the address 00000 ) followed by 256 Bytes reserved for 16 -bit input/output peripherals. The flash memory of 16KiB resides at the top of address space (highest addresses in the address space). C. (8 points) Determine the address map by filling in the following table. D. (7 points) What is the maximum stack size in the MSP430Fx described above? What should be the initial value of SP? Using RTL notation, describe operations carried out to execute the following two instructions: PUSH R9 and POP R9. Stack size: Bytes Initial stack pointer: SP= PUSH R9: POP R9

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_2

Step: 3

blur-text-image_3

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

Sybase Database Administrators Handbook

Authors: Brian Hitchcock

1st Edition

0133574776, 978-0133574777

More Books

Students also viewed these Databases questions

Question

Why We Form Relationships Managing Relationship Dynamics?

Answered: 1 week ago