5.6.12 Instruction overview

In this chapter each instruction's syntax, operation, function, selectable src/dest, and flag changes are listed, and description examples and related instructions are shown.

An example illustrating how to read this chapter is shown below.

(1)

Syntax

The syntax of the instruction using symbols. If (:format) is omitted, the assembler chooses the optimum specifier.

MOV.size     src,dest          B,W,L → (d)
 (a)(b)    (c)

(a)

Mnemonic MOV

Shows the mnemonic.

(b)

Size specifier .size

Shows the data sizes in which data is handled. The following data sizes may be specified:

.B Byte (8 bits)

.W Word (16 bits)

.L Long word (32 bits)

Some instructions do not have a size specifier.

(c)

Operands src, dest

Shows the operands.

(d)

Shows the instruction formats that can be specified in (c).

(2)

Flag change

Shows a flag change that occurs after the instruction is executed. The symbols in the table mean the following.

"–" The flag does not change.

" " The flag changes depending on a condition.

(3)

Description example

Description examples for the instruction.