Architecture

Examples of Instruction Notation

Two examples of the notation used in explaining instructions are given below.

Example 1:

GPR[rt] immediate 016

This means that 16 zero bits are concatenated with an immediate value (normally 16 bits), and the resulting 32-bit string (with the lower 16 bits cleared to 0) is assigned to general-purpose register (GPR) rt.

Example 2:

(immediate15)16 immediate 15..0

Bit 15 (the sign bit) of an immediate value is extended to form a 16-bit string, which is linked to bits 15 to 0 of the immediate value, resulting in a 32-bit sign-extended value.

98

Page 109
Image 109
Toshiba TX39 user manual Examples of Instruction Notation