Always, on every assignment, please write your name legibly as it appears on your University ID and on the class list!
This assignment is dominated by review questions that are not as much specific to the material in the book as they are to material you should have learned in prior courses or work experience.
The Problem: Ignoring questions about I/O or word size, what features that you expect to find on a modern CPU were missing from the instruction set of this machine? Please mention only those features that would cause severe problems for you as an assembly language or machine language programmer!
For this assignment, assume that our ALU has a 3-bit function select input with the following functions:
000 F = 0 001 F = A - B 010 F = B - A 011 F = A + B 100 F = A xor B 101 F = A and B 110 F = A or B 111 F = -1Assume two's complement arithmetic, and assume that, for subtraction, the a 1 on the carry bit means "do not borrow", while a zero means "borrow".
The Problem: Give a truth table for a one bit bit-slice of this ALU. This will have, as inputs, one bit from each of the A and B operands plus a carry-in bit, and it will have, as outputs, one bit of the result F and a carry-out bit.