EasyManua.ls Logo

Xinje XD5 - Reading Method of Applied Instructions

Xinje XD5
389 pages
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...
82
4-2Reading Method of Applied Instructions
In this manual, the applied instructions are described in the following manner.
Summary
ADDITION [ADD]
16 bits
ADD
32 bits
DADD
Execution
condition
Normally ON/OFF,
Rising/Falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
Operands
Operands
Function
Data Type
S1
Specify the data or register address
16 bits/32 bits, BIN
S2
Specify the data or register address
16 bits/32 bits, BIN
D
Specify the register to store the sum result
16 bits/32 bits, BIN
Suitable Soft Components
*Note: D includes D, HD. TD includes TD, HTD. CD includes CD, HCD, HSCD, HSD. DM
includes DM, DHM. DS includes DS, DHS. M includes M, HM, SM. S includes S and HS. T
includes T and HT. C includes C and HC.
<16 bits instruction>
ADD D10 D12 D14
X0
S S2· D·
<32 bits instruction>
DADD D10 D12 D14
X0
S S D·
Two source data make binary addition and the result data store in object address.
The highest bit of each data is positive (0) and negative (1) sign bit. These data will make
addition operation through algebra. Such as 5 + (-8) = -3.
Word
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S1
S2
D
Description
(D10) (D12) (D14)
(D11D10) (D13D12) (D15D14)

Table of Contents

Related product manuals