Hitachi NJI-350B Video Game Controller User Manual


 
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.
D
R0100=00000000000000000000000000000000
b31 b20 b0
This bit is set to “1.”
Also, the 20th bit of DR0102 is reset to “0” by BRES.
D
R0102=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)