EasyManua.ls Logo

ST ST10 Series - Instruction Name; Syntax; Operation

ST ST10 Series
197 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Standard Instruction Set PROGRAMMING MANUAL
46/197
1.6.1 Instruction name
Specifies the mnemonic opcode of the instruction.
1.6.2 Syntax
Specifies the mnemonic opcode and the required formal operands of the instruction.
Instructions can have either none, one, two or three operands which are separated from
each other by commas:
MNEMONIC {op1 {,op2 {,op3 } } }
The operand syntax depends on the addressing mode. All of the available addressing
modes are summarized at the end of each single instruction description.
1.6.3 Operation
The following symbols are used to represent data movement, arithmetic or logical operators.
Diadic operations
operator (opY)
(opx) <-- (opy) (opY) is MOVED into (opX)
(opx) + (opy) (opX) is ADDED to (opY)
(opx) - (opy) (opY) is SUBTRACTED from (opX)
(opx) * (opy) (opX) is MULTIPLIED by (opY)
(opx) / (opy) (opX) is DIVIDED by (opY)
(opx) ^ (opy) (opX) is logically ANDed with (opY)
(opx) v (opy) (opX) is logically ORed with (opY)
(opx) (opy) (opX) is logically EXCLUSIVELY ORed with
(opY)
(opx) <--> (opy) (opX) is COMPARED against (opY)
(opx) mod (opy) (opX) is divided MODULO (opY)
Monadic
operations
operator (opX)
(opx) ¬ (opX) is logically COMPLEMENTED
Table 22 Instruction operation symbols