|
|
|
|
|
by jasonm23
3492 days ago
|
|
You are probably confusing octals with octets. Octals (in the current context) is simply a way of referring to the fact the opcodes are expressed in octal values (base 8), as opposed to hex (base 16) or binary (base 2). Octet on the other hand is simply an alternative word for byte ( is no longer used and is somewhat archaic.) They are in no way different to bytes and are just another way to refer to 8 bits. Octal used to be a lot more popular before the 80s and most languages still interpret numbers with a leading zero as an octal value. |
|
Notably, C99 (and its predecessors) follow this convention. Owing to history, and the curiosities and resolution constraints of fixed-point arithmetics, a lot of devices with a DSP in it think a byte is anything but 8 bits.
There used to be systems that used 5, 6 or 7 bits for a byte, too, but as far as I know, most of those really have gone the way of the Dodo. However, since most of those systems were used in fields like telecom (and they weren't only what we'd call "computers" nowadays), "octet", rather than "byte", is still commonly used in virtually every networking-related context.