[SOLVED] CS1400 Homework3 – BCD and Floating Point Arithmetic

25.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

doc file icon HW3-Complete-l3wsn4.doc (32.5 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)
  1. Binary-Decimal Code Arithmetic

Add the following decimal numbers in binary-decimal code:

  • 267 + 547.352;

 

  1. Floating Point Arithmetic

 

  • Represent the following numbers in IEEE single floating-point format:

®      512.125(10) ,

®  – 4A0D.8(16).

 

  • Add the following decimal numbers in IEEE single floating-point format:

2049.75 + 0.625.

 

  1. Memory Dump

 

The hexadecimal dump from part of a Little-Endian computer’s memory is as follows (3points each)

12B8)  4D69 6474 6572 6D31

12C0)  C684 7A00 80F7 022A

12C8) FFFF 4100 0000 1234

Decode the hexadecimal data, assuming that it is a sequence of:

  • 8 ASCI encoded characters – present the text;
  • IEEE Floating point single precision number – present the binary scientific notation of the number;
  • one byte 1’s complement code – present the decimal number;
  • one byte 2’s complement code – present the decimal number;
  • two bytes with an Excess 1023 code – present the encoded binary number.
  • one 2’s complement 16-bit number – present the decimal number;
  • the rest is a natural BCD number – present the decimal value.

 

Remark: the decimal numbers are selected to be easy for conversion. Recall the rule:  2x(10 ) = 10…0

                                                 

                              x “0’s”

 

 

 

 

  • HW3-Complete-l3wsn4.doc