The Old New Thing

Uncategorized

The SuperH-3, part 13: Misaligned data, and converting between signed vs unsigned values

Okay, now we're doing some programming.

The SuperH-3, part 12: Calling convention and function prologues/epilogues

A typical RISC pattern.

The SuperH-3, part 11: Atomic operations

How do you create an atomic operation when the processor doesn't support them?

The SuperH-3, part 10: Control transfer

The return of the branch delay slot.

Why is there a huge spike in cruise ship width at 32 meters?

Squeezing through tight spaces.

The SuperH-3, part 9: Constants

Squeezing constants into a tiny instruction.

The SuperH-3, part 8: Bit shifting

Sliding left and right.

The SuperH-3, part 7: Bitwise logical operations

Just the basic operations, not much fancy.

The SuperH-3, part 6: Division

And you thought multiplication was complicated.

The SuperH-3, part 5: Multiplication

Now things get more complicated.