flipacholas/Architecture-of-consoles

SNES: Instruction size clarification

dongvt opened this issue · 1 comments

In the The new CPU title under the "the 5A22 features:" section it states:

"The size of instructions can vary between 1 byte (8 bits) and 4 bytes (64 bits) depending on how memory addresses are"

Well, 1 byte is 8 bits, but 4 bytes are 32 bits. So, the instruction size is from 8 to 64 bits or 1 to 4 bytes?
This is a genuine question, so I went to the sources to check how the addressing mode works.
Based on the source at SuperFamiCom Wiki it looks the correct statement should be:

"The size of instructions can vary between 1 byte (8 bits) and 4 bytes (32 bits) depending on how memory addresses are"

By the way, thank you so much for the fantastic work and gathering all this information, I highly appreciate it.

You're right, I wrongly wrote '64 bits' when it should've been '32 bits'. Thanks.