Chapter 5 Instruction Specifications

Program example

X00001

DIF1

R7F0= 0

 

 

ROL(DR0000,1)

ROL(DR0002,1)

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

 

 

b31

DR0002

b0

 

C

 

b31

DR0000

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DR0000 b31

b0 C (R7F0)

0

ROL (d, n)

5-77

Page 127
Image 127
Hitachi NJI-350B manual B31 DR0002