Fixed Point Codes:
1.1. Convert 512(8) into 32-bit twos complement binary number.
1.2. Convert -512(10) into 32-bit twos complement binary number.
1.3.Convert -87E524(16) into 32-bit twos complement binary number.
1.4. Represent following numbers 517(10) , 2048(8) , -4A9D(16) in :
- Binary sign magnitude code;
- Binary twos complement code.
Remark: Use half word (16-bits) to present the binary numbers.
2. Fixed Point Arithmetic
2.1. What decimal number does this twos complement binary number represent:
11111111 11011011
2.2. What decimal number does this twos complement binary number represent:
11111111 11111111
2.3. What decimal number does this twos complement binary number represent (present the answer in scientific notation):
01111111 11111111
- Present the following binary numbers in Excess 127 and Excess 1023 code: 1001, -100011, -100101.
- Perform the following operations, representing the decimal numbers in 8-bit twos complement code. Fill in the flags C, N, Z, V. If the operations produce arithmetic overflow, eExplain how you have estimated the overflow.
20 (+5); 127 + (126); 127 + ( 128);
-20 + (+ 64); -20 (+111); -127 (+ 2); 126 + ( 2).

![[Solved] CS1400 Home work 2 Binary Codes and Arithmetic](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] CS1400 Home work 1](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.