![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268531.webp)
492
Conversion Instructions
Section 3-12
3-12-5 2’S COMPLEMENT: NEG(160)
Purpose
Calculates the 2’s complement of a word of hexadecimal data.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
3
2
0
A
0
0
2
D
x16
7
x16
6
x16
5
x16
4
S+1: CIO 0011
S: CIO 0010
1
9
3
0
0
2
9
6
x10
7
x10
6
x10
5
x10
4
x16
3
x16
2
x16
1
x16
0
x10
3
x10
2
x10
1
x10
0
2X16
5
+13X16
4
+3X16
3
+2X16
2
+10=2961930
R+1: D00101
R: D00100
MBS
MBS
LSB
LSB
NEG(160)
S
R
S
: Source word
R
: Result word
Variations
Executed Each Cycle for ON Condition
NEG(160)
Executed Once for Upward Differentiation
@NEG(160)
Executed Once for Downward Differentiation
Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Area
S
R
CIO Area
CIO 0000 to CIO 6143
Work Area
W000 to W511
Holding Bit Area
H000 to H511
Auxiliary Bit Area
A000 to A959
A448 to A959
Timer Area
T0000 to T4095
Counter Area
C0000 to C4095
DM Area
D00000 to D32767
EM Area without bank
E00000 to E32767
EM Area with bank
En_00000 to En_32767
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...