Question: 1 . LC - 3 condition codes The LC - 3 has three condition code flip - flops N , Z , and P .
LC condition codes
The LC has three condition code flipflops N Z and P The states of these flipflops indicate whether the last value on the processor bus was a negative, zero, or positive number in two'scomplement representation. The P flipflop is not necessary.
Redefine the BR instruction format so that bit IR means "NOT", and IR and IR retain their meanings, checking flipflops N and Z Write a table with eight entries for IR: and explain what kind of branch condition each defines. For example, with the new format, IR: means branch if not negative or zero that is branch if positive.
Redefine the boolean expression for the BEN flipflop in State of the LC state machine for this new BR instruction format. Hint: have we seen a method to control whether a Boolean expression is inverted or not?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
