Hitachi HIDIC MICRO-EH Applications Manual page 121

Table of Contents

Advertisement

Program description
When WR0001 = H1234 at the leading edge of X00000 (WR0001 = 0001001000110100)
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
b20
DR0100=00000000000000000000000000000000
This bit is set to "1."
Also, the 20th bit of DR0102 is reset to "0" by BRES.
b31
b20
DR0102= 11111111111111111111111111111111
This bit is set to "0."
Also, the 20th bit of DR0104 is checked by BTS.
b31
b20
DR0104=01010101010101011010101010101010
This bit is checked.
Since the 20th bit is "1," C (R7F0) = "1" is set.
b0
b0
b0
5-71
Chapter 5 Instruction Specifications
20 (decimal)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents