COMP-1 And Comp-2 representation
Posted: Sat Jun 05, 2010 6:40 pm
Hi All,
I have referred the following link
http://publibz.boulder.ibm.com/cgi-bin/ ... 0820210412
in this link :
Internal floating point
COMP-1
+ 1234
43 4D 20 00
- 1234
C3 4D 20 00
COMP-2
+ 1234
43 4D 20 00 00 00 00 00
- 1234
C3 4D 20 00 00 00 00 00
I want to know how the conversion happened?
The hexvalue of 1234 is 4D2. How did the 43 4D 20 00 got generated. Please explain
I have referred the following link
http://publibz.boulder.ibm.com/cgi-bin/ ... 0820210412
in this link :
Internal floating point
COMP-1
+ 1234
43 4D 20 00
- 1234
C3 4D 20 00
COMP-2
+ 1234
43 4D 20 00 00 00 00 00
- 1234
C3 4D 20 00 00 00 00 00
I want to know how the conversion happened?
The hexvalue of 1234 is 4D2. How did the 43 4D 20 00 got generated. Please explain