Bernie wrote:
>
> 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.
I most certainly AM ! <g>
> A byte is always 8-bits, but a word isn't clearly defined now is it?
It's nice to see Napoleon #2 of Padua in a good mood (other messages)
but you know I used the "byte" example for simplicity after telling
you to set your accumulator to zero: "All zeros, any length."
Whether the length of a word is defined or not doesn't seem to matter
to the process of describing how to generally arrive at -1. <G>
- Clarence Verge
--
- Help stamp out FATWARE. As a start visit: http://home.arachne.cz/
- The internet is infected - Windows is a VIRUS !!
--