|LDO32(8),8||R8:=R8 + 32|
|LDO-1(22),22||R22:=R22 - 1|
Expect to find the instruction source on the left and the destination on the right:
|len||=||number of bits|
In Load and Store instructions you see (0,xx) for the memory address, where 0 is the Space Id and xx is the Base Register. Space Id 0 is a special case, see Space Registers. The best instruction summary is the Precision Architecture and Instruction Reference Card (09740-90014).
Here are some tips to help you guess the function of an instruction from the mnemonic:
|Branches:||B@ as in BL Branch and Link, BV Branch Vectored.|
|Compare and Branch:||C@ as in COMIBF, COMpare Immediate and Branch If False.|
|Extract:||EXTRS for signed and EXTRU for unsigned.|
|Load:||L@ as in LDH load halfword, LDO load offset.|
|Shift:||SH@ as in SH2ADD Shift 2 and Add.|
|Store:||ST@ as in STB Store Byte, STW Store Word.|
A series of ADD@ and SH# ADD instructions, is usually a multiply operation without a multiply instruction. Because of delayed branches, the instruction after a branch is executed before the branch takes effect.