Hi,
On the C66 instruction manual: sprugh7.pdf, page 162, it says that
This instruction can be used in the following way, to perform a multiplex function:
;A10 and A11 contain 2 different quantities
;A12 is used to select between A10 and A11 on a bit by bit basis
AND.D1A10, A12, A13
|| ANDN.S1 A11, A12, A14
;A13 contains the final multiplexed output of A10 and A11 using A12
OR.L1 A13, A14, A13
A12 is used as a selection mask to A10 and A11. A13 and A14 store the filtered bits of A10 and A11 respectively. Why does the last OR instruction do multiplex?
Thanks,