Question: Computer architecture/pep9 COSC 241 Exam Practice Computer Systems Given the PEP9 CPU architecture, assume that the CPU registers, flags and memory lecations are in the
COSC 241 Exam Practice Computer Systems Given the PEP9 CPU architecture, assume that the CPU registers, flags and memory lecations are in the following initial state CPU: A-reg 0x82FF 0x0000 Memory Address Data 0x0100 0x0102 00 0x0103 00 0101040 0x0105 0x0106 0x0107 82 Assume that the following set of instructions execute sequentially in the form of a PEP9 program: nega stwa 0x0100,d ! x 0x0102,d adds 0x0 102.01 Idvva 0,i suba 127,i stwa 0x0104.d stop wer the following questions by filling in what values the A-reg. X-reg, status flags and memory will contain after each instruction executes. You COSC 241 Exam Practice Computer Systems Given the PEP9 CPU architecture, assume that the CPU registers, flags and memory lecations are in the following initial state CPU: A-reg 0x82FF 0x0000 Memory Address Data 0x0100 0x0102 00 0x0103 00 0101040 0x0105 0x0106 0x0107 82 Assume that the following set of instructions execute sequentially in the form of a PEP9 program: nega stwa 0x0100,d ! x 0x0102,d adds 0x0 102.01 Idvva 0,i suba 127,i stwa 0x0104.d stop wer the following questions by filling in what values the A-reg. X-reg, status flags and memory will contain after each instruction executes. You
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
