The
Bit Field Distribute (BTD) instruction can be used to copy bits from one
variable and write those bits to another variable. A practical application is
in identifying the status of a process, when only some of the 16 bits of an INT
variable are used. In the example below, the last 4 bits of value_1 are copied
and written to the first 4 bits of value_2.
No comments:
Post a Comment