Omron SYSMAC CP CP1E-N@@D@-@ Manuale Utente Pagina 179

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 467
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 178
2-143
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Data Shift Instructions
2
NASL/NSLL
Sample program
When CIO 0.00 is ON, The contents of CIO 100 is shifted 10 bits to the left (from the rightmost bit to the
leftmost bit). The number of bits to shift is specified in bits 0 to 7 of word W0 (control data). The con-
tents of bit 0 of CIO 100 is copied into bits from which data was shifted and the contents of the right-
most bit which was shifted out of range is shifted into the Carry Flag (CY). All other data is lost.
When CIO 0.00 is ON, CIO 100 and CIO 101 will be shifted to the left (from the rightmost bit to the left-
most bit) by 10 bits. The number of bits to shift is specified in bits 0 to 7 of W0 (control data). The con-
tents of bit 0 of CIO 100 is copied into bits from which data was shifted and the contents of the
rightmost bit which was shifted out of range is shifted into the Carry Flag (CY). All other data is lost.
NASL
100
W0
D
C
0.00
C0
811
8
1215
0743
0 A
No. of bits to shift: 10 bits (0A Hex)
Always 0.
Data shifted into register
8 Hex: Contents of right-most bit shifted in
015
100
5876
015 14 13 12 1011 4 398 21
100 1 1 1 1 1 1 1 111
CY
1
1001001
001001
Rightmost bit
Lost
No. of bits to shift: 10 bits
(Contents of the rightmost
bit is inserted.)
NSLL
100
W0
0.00
D
C
C0
811
8
1215
0743
0 A
No. of bits to shift: 10 bits (0A Hex)
Always 0.
Data shifted into register
8 Hex: Contents of right-most bit shifted in
015
101 11 0 01001
001001
87 015 8765
015
987
101 10010010 1
0
CY
1
100 1001001
001001
015 10 798
100 1
1 1 1 1 1 1 111
100100100
Rightmost bit a
Lost
No. of bits to shift: 10 bits
(Contents of the rightmost
bit is shifted in)
Vedere la pagina 178
1 2 ... 174 175 176 177 178 179 180 181 182 183 184 ... 466 467

Commenti su questo manuale

Nessun commento

JBL Reproduktory uživatelské příručky

Začínající na 0-9

Klepnutím na abecedu níže přejděte na úplný seznam modelů začínajících tímto písmenem

Modely Typ Dokumentu
130
Uživatelský manuál    JBL Arena 170, 112 stránky
Uživatelská příručka   JBL STUDIO™ SERIES Studio 120C, 13 stránky
280
Uživatelský manuál   JBL STUDIO™ SERIES 220, 8 stránky
4318
Uživatelský manuál   JBL 4318 User's Manual, 3 stránky
4338
Uživatelský manuál   JBL 4338 User's Manual, 4 stránky
4344MKII
Uživatelský manuál   JBL 4344MKII User's Manual, 14 stránky
4348
Uživatelský manuál   JBL 4348 User's Manual, 4 stránky
8340
Uživatelský manuál   JBL 8340 User's Manual, 2 stránky