Answered step by step
Verified Expert Solution
Question
1 Approved Answer
[20 pts) 2- Consider the internal structure of a pseudo-CPU discussed in class. Suppose the pseudo-CPU can be used to implement the hypothetical instructions given
[20 pts) 2- Consider the internal structure of a pseudo-CPU discussed in class. Suppose the pseudo-CPU can be used to implement the hypothetical instructions given below (Actually, these are instructions from PDP-8, which is the first commercially successful minicomputer from the 60's). Give the sequence of microoperations required to implement the Fetch and Execute cycle for each of the instructions shown below. Your solution should result in minimum number of microoperations. Assume PC is currently pointing to the instruction and only PC and AC have the capability to increment itself. (a) Logical AND: AND Y; AC AC A M(Y) (b) Increment and skip if zero: ISZ Y; M(Y) M(Y) + 1, If(M(Y)+1=0) Then PC + PC +1 (c) Deposit and clear the accumulator: DCA Y; M(Y) AC, ACO (d) Jump to subroutine: JMS Y; M(Y) + PC, PC + Y+1
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started