Assignment 4: Microprocessor/Microcontroller Systems
Assignment 4: Microprocessor/Microcontroller Systems
ASSIGNMENT 4
INSTRUCTIONS: Answer the following problem and submit in the complete solution.
1. If we had 20,00010 memory address lines, what would be the last address line needed to
describe an item in hex 2 bytes wide?
2. Refer to Figure shown. If we POP data item #2 (two-bytes) from the stack, will the stack
pointer (SP) increment or decrement? What hex value will appear in the SP?
3. Refer to the same Figure, if we PUSH three data items onto the stack 1-byte each, will the
SP increment or decrement? What hex value will appear in the SP?
*
NOTE:
Include the rubrics (see Table 1 in the next page) in assignment submission.
Progressing
Difficulty
Meeting Towards
Meeting Achieved
Criteria Expectations Meeting
Expectations Score
(7-10 pts.) Expectations
(0-2 pts.)
(3-6 pts.)
The submitted The submitted The submitted
work results or work results or work results or
Correctness and outputs are outputs are outputs are below
completeness between 100% between 84% and 60% correct or
and 85% correct 60% correct and incomplete
and complete complete