answersLogoWhite

0


Best Answer

127.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the largest positive number one can represent in an eight-bit two's complement code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the largest positive number you can represent literally ie. as an immediate value within an LC-3 ADD instruction?

There are 5 bits in the immediate value for an LC-3 ADD, but the first bit is needed for the sign representation. The answer is 15.


What is the encoding technique called used to store negative numbers in the comouter's memory?

Negative integers are typically encoded using two's complement notation. That is, to convert the sign of any given integer, the bits are flipped (as per ones' complement) and 1 is added. Thus to convert the value +1 to -1 using 8-bit notation: 00000001 = 11111110 + 1 = 11111111 And reversing the process (-1 to +1): 11111111 = 00000000 + 1 = 00000001 In hexadecimal notation, the value 0x80 is the largest negative integer (-128) and 0x7F is the largest positive integer (+127). That is, 10000000 and 01111111 respectively. Note that ones' complement was used in the past and while some systems still use it they are few and far between today. One of the problems with ones' complement is that +0 and -0 (00000000 and 11111111 respectively) would be treated as being two separate values, when the value 0 is neither positive nor negative. In twos complement, flipping the sign of zero becomes: 00000000 = 11111111 + 1 = 00000000 Note that the actual value is 100000000, but the most-significant bit (the overflow) is ignored because there can only be 8-bits in an 8-bit value. The same is true of 16-bit values, 24-bit values, etc. When all bits are filled with 1s, adding 1 wraps the value back to 0 again.


What is the Largest 16 bit number?

1111111111111111 (216 - 1 = 65535)


What is the largest value that can be stored in 64 bits represented in hexadecimal?

0xffffffffffffffff As an unsigned 64-bit integer, this represents the value 18,446,744,073,709,551,615. However, as a signed 64-bit integer, this only represents the value -1. The signed range is -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 making 0x7fffffffffffffff the largest possible positive value, and 0x8000000000000000 the smallest possible negative value.


What is the largest man made diamond available?

3.0carat is the largest

Related questions

What is the largest positive and largest negative decimal number that can be expressed as an 8-bit 2's complement binary number?

6


What is the largest positive value that you can represent with 16 bits?

216 -1


What is the Largest 16 bit positive number?

For an unsigned integer, that would be 216-1. For a signed integer in 2's complement notation, the largest number would be 215-1.


Is largest a noun?

No, the word 'largest' is the superlative form of the adjective 'large' (larger, largest). An adjective used as a subject complement (following a linking verb) or an object complement (following a direct object, renaming the direct object) does the job of a noun; for example: Subject complement: My feet are the largest. Object complement: He bought a real diamond, the largest I have ever seen.


What is the largest magnitude negative signed number that can fit in 6 bits?

If the high-order bit is considered the sign bit then 100000 would represent the largest negative number (in 2's complement - used mostly in computers) which would be equivalent to -32 in decimal


What is 1's complement of decimal 10?

The decimal complement of the number 1 is 8. You can find the complement of any digit by subtracting it from the largest single digit value in the base that you're working in.


Which is largest positive integer?

It will be the largest positive whole number on the number line which is infinite.


What is the largest positive number that can be stored using 8 bits?

An N-bit integer holds 2N different values.For an unsigned integer, the range of values is 0..2N-1 thus.For a signed integer using 2s complement, the range is -2N-1..+2N-1-1.Therefore, the largest positive number that can be stored using 8 bits is 255.


What is the largest positive signed decimal number that can be represented by 8-bits?

If the 8 bits represent a signed number, the range is usually -128 to +127. This is -27 to 27-1.


What is the largest positive integer?

The set of positive integers is {1, 2, 3, 4, 5, ...}. Because the values approach positive infinity there is no largest positive integer. If you pick any positive integer, you can always create a larger one by simply adding 1 to it. So there can be no largest positive integer.


What is the largest positive number?

infinity


What does the largest circular structure represent?

A host cell