Omron CS1G/H-CPUxxH Instructions Manual page 361

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Data Shift Instructions
Description
Flags
Precautions
340
Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
SRD(075) shifts data between St and E by one digit (4 bits) to the right. "0" is
placed in the leftmost digit (bits 15 to 12 of E), and the content of the rightmost
digit (bits 3 to 0 of St) is lost.
Name
Error Flag
ER
When St is greater than E, an error will be generated and the Error Flag will
turn ON.
When SRD(075) is executed, the Equals Flag and Negative Flag will turn
OFF.
Note When large amounts of data are shifted, the instruction execution time is quite
long. Always take care that the power is not cut while SRD(075) is being exe-
cuted, causing the shift operation to stop halfway through.
St
A448 to A959
T0000 to T4095
C0000 to C4095
D00000 to D32767
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
---
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
E
Label
ON when St is greater than E.
OFF in all other cases.
Section 3-9
E
S
t
Lost
Operation

Advertisement

Table of Contents
loading

Table of Contents