Delta DVP-ES3 — 6.9.2 Explanation of Logic Instructions

Chapter 6 Applied Instructions b 0 b15 Y0 Before the instruction is executed S1 D0 S2 Y2 D2 After the instructi on is exe cuted Y4 b0 b 15 D D4 Example 2 When M0 is ON, the instruction performs the logical inclusive operation OR on each pair of corresponding bits in the 32-bit device (D11, D10) and the 32-bit device (D21, D20). It stores the operation result in (D41, D40).

6-239 01 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 1 1 1 1 0 1 0 0 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 0 1 0 1 6 S 1 b 31 b 15 b 0 Be f ore the in stru ctio n DY 11 11 DY 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 is e xecu t ed DO R S2 DY 2211 DY 22 00 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 Af te r th e inst ruct io n D is exe cut e d DY 4411 DY 44 00 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 1 1 1 1 1 1 1 0 0 1 1 1 1 1 1