Applied Instructions
WTD D0 D10
X0
S· D·
High bits Low bits
D11
D10
0 or 1
D0
Function & Action
(D0) → (D11,D10)
Single Word Double Word
z When single word D0 is positive integer, after exe ing this instruction, the high
bit of double word D10 is 0.
z When single word D0 is negative integer, after executing this instruction, the
high bit of double word D10 is 1.
[WTD]
16 bits instruction:WTD 32 bits instruction:-
Suitable Models:
XC3、XC5
Word
Device
Bit
Device
X
Y
M
S
T
C
Dn.m
D
FD
DM
DX
DY
DS
TD
CD
K/H
S·
D·
cut
107