This preview shows page 1. Sign up to view the full content.
Unformatted text preview: twos complement representation : (15 points) a) (18) 10 + (13) 10 b) (18) 10- (13) 10 c)-(18) 10- (13) 10 6. Using the tiny computer assembly language explained in class, write a program that computes the following expression: z a * b * c. The computer will read in the input values (a, b, c, and read in the value zero for z) from the keyboard, and all the input values and the final result (z) have to be printed out on the printer. In addition, every time an input value is read in, it must be displayed on the screen. Remember that the instruction set does not have an instruction to execute multiplication. (25 points)...
View Full Document
- Spring '08
- Computer Architecture