English
Language : 

TX19A Datasheet, PDF (81/491 Pages) Toshiba Semiconductor – 32Bit TX System RISC
Chapter 4 16-Bit ISA Summary and Programming Tips
Instruction
* Bit Test
* Bit Extract
* Bit Clear
* Bit Set
Table 4-23 Bit Manipulation Instructions (16-Bit ISA)
Format
Operation
BTST
BTST
BTST
BEXT
BEXT
BEXT
BCLR
BCLR
BCLR
BSET
BSET
BSET
offset(base3), A bit specified by pos3 in a memory byte is negated and placed into
pos3
the least-significant bit (LSB) of t8. The upper 31 bits of t8 are filled
with zeros. The effective address is computed by zero-extending the
14-bit offset and adding the resultant value to the contents of base3.
offset(r0), pos3 A bit specified by pos3 in a memory byte is negated and placed into
the least-significant bit (LSB) of t8. The upper 31 bits of t8 are filled
with zeros. The effective address is computed by sign-extending the
14-bit offset and adding the resultant value to the contents of r0.
offset(fp), pos3 A bit specified by pos3 in a memory byte is negated and placed into
the least-significant bit (LSB) of t8. The upper 31 bits of t8 are filled
with zeros. The effective address is computed by zero-extending the
5-bit offset and adding the resultant value to the contents of fp.
offset(base3), A bit specified by pos3 in a memory byte is copied into the
pos3
least-significant bit (LSB) of t8. The upper 31 bits of t8 are filled with
zeros. The effective address is computed by zero-extending the 14-bit
offset and adding the resultant value to the contents of base3.
offset(r0), pos3 A bit specified by pos3 in a memory byte is copied into the
least-significant bit (LSB) of t8. The upper 31 bits of t8 are filled with
zeros. The effective address is computed by sign-extending the 14-bit
offset and adding the resultant value to the contents of r0.
offset(fp), pos3 A bit specified by pos3 in a memory byte is copied into the
least-significant bit (LSB) of t8. The upper 31 bits of t8 are filled with
zeros. The effective address is computed by zero-extending the 5-bit
offset and adding the resultant value to the contents of fp.
offset(base3), A bit specified by pos3 in a memory byte is cleared. The effective
pos3
address is computed by zero-extending the 14-bit offset and adding
the resultant value to the contents of base3.
offset(r0), pos3 A bit specified by pos3 in a memory byte is cleared. The effective
address is computed by sign-extending the 14-bit offset and adding
the resultant value to the contents of r0.
offset(fp), pos3 A bit specified by pos3 in a memory byte is cleared. The effective
address is computed by zero-extending the 5-bit offset and adding
the resultant value to the contents of fp.
offset(base3), A bit specified by pos3 in a memory byte is set. The effective address
pos3
is computed by zero-extending the 14-bit offset and adding the
resultant value to the contents of base3.
offset(r0), pos3 A bit specified by pos3 in a memory byte is set. The effective address
is computed by sign-extending the 14-bit offset and adding the
resultant value to the contents of r0.
offset(fp), pos3 A bit specified by pos3 in a memory byte is set. The effective address
is computed by zero-extending the 5-bit offset and adding the
resultant value to the contents of fp.
4-27