Most integer instructions have four forms:
This form ends in a period. This form sets register cr0 to whether the result is less, than, equal to, or greater than zero.
This form ends in the letter ( o ). This form sets the SO and OV bits in the XER if the result overflows.
This form ends in ( o. ). This form sets both registers.
Some instructions only have a record form (with a period). Always make sure to include the period. For example:
andi. r3,r4,7 andis. r3,r4,7 stwcx. r3,r4,r5