I have a program.. for example:
Code: Select all
A i0.0
= q0.0
a i0.1
= q0.1
a i0.2
= q0.2
Code: Select all
a i0.2
= q0.0
a i0.0
= q0.1
a i0.1
= q0.2
Code: Select all
A i0.0
= q0.0
a i0.1
= q0.1
a i0.2
= q0.2
Code: Select all
a i0.2
= q0.0
a i0.0
= q0.1
a i0.1
= q0.2
Code: Select all
A i0.0
= q0.0
a i0.1
= q0.1
a i0.2
= q0.2
Code: Select all
a i0.2
= q0.0
a i0.0
= q0.1
a i0.1
= q0.2[/spoiler]
How can I make such effect?[/quote]
Where do u want this kind of logic.
For your requirement it is good to use the memory bits instead of the direct DI's.
Use the Shift/Rotate instruction to shift the bits in the DI's and move the output value to the Memory location (M - bits) and use the M-bits at the actual logic.