6.
7.
六、根据梯形图写出指令语句表 2、
1、
答: 步序 助记符 操作数 0 LD X0 1 OUT Y1 2 OUT T1 3 K 20 4 LDI X1 5 RST C0 6 LD X2 7 OUT C0 8 K 6
答
0 LDI X10 1 OUT Y2 2 AND M1 3 OUT Y3 4 ANI M2 5 OUT Y4 6 AND M3 7 OUT Y5
步序 助记符 操作数 3、
答: 步序 助记符 0 LD X0 1 AND X1 2 OR X2 3 AND M2 4 OUT Y0
操作数 4、
答:
0 LD X0 1 ANI Y1 2 OR M0 3 LDI X2 4 ANI M1 5 ORI Y2 6 ANB
7 LD X3 8 OR X4 9 ANB
10 OUT M3
步序助记符 操作数 5. 答: 步序 助记符 0 LDI X0 1 AND X1 2 LD M1 3 ANI X2 4 ORB
5 LDI Y1 6 ANI X3 7 ORB
8 LD M2 9 ANI Y2 10 AND X3 11 ORB
12 OUT Y3
操作数6、
步序 助记符 0 LD X0 1 AND M1 2 ANI X2 3 LD Y0 4 ANI X1 5 ORI X3 6 AND T0 7 ORB
8 LDI Y2 9 OR M2 10 ANB
11 OR C0 12 OUT Y1 13 AND X3 14 OUT T2 15 K 10 16 OUT M0
操作数 7.
答: 步序 助记符 操作数 0 LD X0 1 MC N0 2 M0 3 LD X1 4 OUT Y1 5 LD X2 6 OUT Y2 7 MCR N0