beautypg.com

Hitachi NJI-350B User Manual

Page 121

background image

Chapter 5 Instruction Specifications

5-71

Program description

When WR0001 = H1234 at the leading edge of X00000 (WR0001 = 0001001000110100)

20 (decimal)

If DR0100 = H00000000, DR0102 = HFFFFFFFF and DR0104 = H5555AAAA are set, the 20th bit of DR0100 is set to “1” by
the BSET at the leading edge of X00000.

DR0100=00000000000000000000000000000000

b31

b20

b0

This bit is set to “1.”

Also, the 20th bit of DR0102 is reset to “0” by BRES.

DR0102=11111111111111111111111111111111

b31

b20

b0

This bit is set to “0.”

Also, the 20th bit of DR0104 is checked by BTS.

DR0104=01010101010101011010101010101010

b31

b20

b0

This bit is checked.

Since the 20th bit is “1,” C (R7F0) = “1” is set.

BTS

(

d, n

)