Question: Table 5 : Bit definitions for micro _ stim.v . else D = my _ rom [ A ] ; end initial begin my _
Table : Bit definitions for microstim.v else
D myromA;
end
initial begin
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromh;
myromhfff;
end
endmoduleTask : Add the AND, ZERO, SUB, and STORE ACC Instructions
In this task you get to demonstrate your understanding of your microprocessor by adding
instructions to your instruction set. Add the AND, ZERO, SUB, and STORE ACC instructions to
your microprocessor circuit.
The AND instruction should perform a bitwise AND operation of the value in the
accumulator with an operand from the RAM and store the result in the accumulator.
The ZERO instruction should store the hex digit in the accumulator by subtracting the
accumulator from itself and storing the result back in the accumulator.
Version Fall
The SUB instruction gets the next value in the RAM and subtracts it from the
accumulator by forming its two's complement, adding the result to the value already in
the accumulator, and then storing this result back into the accumulator.
The STORE ACC instruction should write the contents of the ACC into a location in RAM
specified by the instructions operand
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
