Hitachi NJI-350B User Manual

Page 127

Advertising
background image

Chapter 5 Instruction Specifications

5-77

Program example

R7F0= 0
ROL(DR0000,1)
ROL(DR0002,1)

X00001

DIF1

LD

X00001

AND DIF1
[
R7F0 = 0
ROL (DR0000,1)
ROL (DR0002,1)
]

Program description

• When X00001 rises, the 64-bit data is shifted one bit at a time.

The space after the shift is filled with “0.”

Overall movement

C

0

b31

DR0002

b0

C

b31

DR0000

b0

C
0

(R7F0)

DR0000 b31

ROL (d,

n)

Advertising