Chapter 5 Instruction Specifications

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.

b31 b20b0 DR0100=00000000000000000000000000000000

This bit is set to “1.”

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

b31 b20b0 DR0102=11111111111111111111111111111111

This bit is set to “0.”

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

b31 b20b0 DR0104=01010101010101011010101010101010

This bit is checked.

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

BTS (d, n)

5-71

Page 121
Image 121
Hitachi NJI-350B manual Also, the 20th bit of DR0102 is reset to 0 by Bres, Also, the 20th bit of DR0104 is checked by BTS