EasyManua.ls Logo

Amtech Axpert-Eazy Series - Page 164

Amtech Axpert-Eazy Series
242 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...
Amtech
6-118
6
13. ADD32 (OPCODE
013)
This command is used for 32-bit summation.
Example,
ADD32 Rn
Where,
Rn = Register Number (0 to 113)
Register Rn as high byte and Rn+1 as low byte and it will be added to 32-bit register. Result
will be stored into 32-bit Register.
14. SUB (OPCODE
014)
This command is used for 16-bit subtraction of two registers.
Example,
SUB Rn Rn1 Rn2
Where,
Rn = Register Number (0 to 85)
Rn1, Rn2 = Register Number (0 to 114)
Result will be stored in Rn. (Rn = Rn1 – Rn2)
15. SUB32 (OPCODE
015)
This command is used for 32-bit Subtraction.
Example,
SUB32 Rn
Where,
Rn = Register Number (0 to 113)
32bit Register = 32bit Register - Rn
Register Rn as high byte and Rn+1 as low byte and it will be subtracted from 32-bit register.
Result will be stored into 32-bit Register.
16. MUL32 (OPCODE
016)
This command is used for multiplication operation of two registers.
Example,
MUL32 Rn Rm
Where,
Rn and Rm = Register Number (0 to 114)
32bit Register = Rn * Rm.
Result will be stored in 32-bit Register.
Result should not be exceeding more then 32-bit value.
17. DIV (OPCODE
017)
This command is used for division of two registers.
Example,
DIV Rn Rn1 Rn2
Where,
Rn = Register Number (0 to 85)
Rn1, Rn2 = Register Number (0 to 114)
Result will be stored in Rn. (Rn = Rn1 / Rn2).
18. DIV32 (OPCODE
018)
This command is used for division of 32-bit value.
Example,
DIV32 Rn
Where,
Rn = Register Number (0 to 114)
Result will be stored in 32-bit Register. (32bit Register = 32bit Register / Rn.)

Table of Contents

Related product manuals