Clarence wrote:
>Actually there is, if you are intimate with the machine. And it is number
>system independant since these numbers are just translations of the binary
>reality. Set your accumulator to zero. All zeros, any length. Subtract one.
>The result is always all ones (any length) and the carry bit (borrow) is 1.
>A -1 byte is 1 11111111 in binary, 1 FF in hex, 1 377 in octal etc.
>
>> Yes, I'm "cheating" and no the teachers at university didn't like using
>> signs like this.
>
>See, I can cheat as well. <G>

But you aren't always correct. A byte is always 8-bits, but a word isn't
clearly defined now is it? Or why not go as far as an "int" in C? This has
diffrent storage capacity depending on the CPU (16, 32, 64 etc. bits).
//Bernie

Reply via email to