This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 3) (10 pts) Perform the following operations in the specified binary notation (You are not allowed to convert to another number system. You must do the adding or subtracting in the specified notation. You must also always keep 8 bits) a. 00010110 + 00101010 in unsigned binary b. 00110111 + 11010110 in 2's complement c. 01111100 - 01010111 in unsigned binary d. 01001100 - 00101001 in 2's complement e. 11000000 + 01111001 in 1's complement 4) (4 pts) Complile these lines of LC-3 code. (the answer is in the form of a 16 bit binary number) a. NOT R6, R0 b. ADD R2, R3, #-5 5) (4 pts) The following 16 bit numbers are lines of LC-3 machine code. Decompile the code. a. 0101110011000010 b. 0110100000111111...
View Full Document
- Fall '08