Skip to content

LSB to MSB order #351

@Rhialto

Description

@Rhialto

On https://melsloop.com/docs/the-story-of-mel/pages/mels-hack-the-missing-bits in figure 7, you place the opcode bits at the least significant side of the word. Presumably because in figure 4, the "command" field is bits 0-4.

However, in early computing, bits were often counted the other way around: left to right, msb to lsb. Some modern CPU vendors still like to do that. The PowerPC documentation from IBM works like that. A quick google finds me https://cseweb.ucsd.edu/classes/sp06/cse240b/manuals/power4-1.pdf ; check chapter 1 page 7.

So it is certainly possible (even likely, I'd think) that the opcode bits are the most significant bits of the word.

Did you check how that influences the various theories about how the loop hack worked?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions