View previous topic :: View next topic
|
Author |
Message |
karthikr44
Active User
Joined: 25 Aug 2007 Posts: 235 Location: Chennai
|
|
|
|
Hi,
I know that if the sign bit stored is
C - if it is a signed positive
D - if it is a signed negative
F - if it is unsigned
But any one tell me what is G in sign bit represent?
Thanks & Regards
R KARTHIK |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
But any one tell me what is G in sign bit represent? |
from Your premises assuming that You are talking about the four bits
which represent the sign....
Your question is weird, or worth patenting a new bit architecture/convention
if on the other side You have a packed number containing a positive 6 x'7c'
when You unpack it You get a x'c7' that when printed shows up as c'G"
but the question as You posed it does not make much sense |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
karthikr44 wrote: |
I know that if the sign bit stored is
C - if it is a signed positive
D - if it is a signed negative
F - if it is unsigned
But any one tell me what is G in sign bit represent? |
The sign 'nibble' is only four bits long, the only values that fit are the hex digits from 0 to F, G is not a hex digit....... |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
BTW, CICS Guy and others, why isn't this called a "nybble"? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
wikipedia treats them in the same way
Quote: |
A nibble (often, nybble) is the computing term for a four-bit aggregation, or half an octet (an octet being an 8-bit byte). As a nibble contains 4 bits, there are sixteen possible values, so a nibble corresponds to a single hexadecimal digit (thus, it is often referred to as a "hex digit" or "hexit"). |
|
|
Back to top |
|
|
|