% This file generates all orthogonal instructions for a % double-operand ALU instruction. % #1 Base offset of opcode % #2 Operation code % #1+0 opA,B->C @(#1 + 0 * stride) #include mc_alu2o.txt alu_a_to_1 alu_b_to_2 #2 ld_c % #1+1 opA,B->MJ @(#1 + h1 * stride) #include mc_alu2o.txt alu_a_to_1 alu_b_to_2 #2 ld_mem sel_j % #1+2 opA,B->MXY @(#1 + h2 * stride) #include mc_alu2o.txt alu_a_to_1 alu_b_to_2 #2 ld_mem sel_xy % #1+3 opA,C->B @(#1 + h3 * stride) #include mc_alu2o.txt alu_a_to_1 alu_c_to_2 #2 ld_b % #1+4 opA,C->MJ @(#1 + h4 * stride) #include mc_alu2o.txt alu_a_to_1 alu_c_to_2 #2 ld_mem sel_j % #1+5 opA,C->MXY @(#1 + h5 * stride) #include mc_alu2o.txt alu_a_to_1 alu_c_to_2 #2 ld_mem sel_xy % #1+6 opB,C->A @(#1 + h6 * stride) #include mc_alu2o.txt alu_b_to_1 alu_c_to_2 #2 ld_a % #1+7 opB,C->MJ @(#1 + h7 * stride) #include mc_alu2o.txt alu_b_to_1 alu_c_to_2 #2 ld_mem sel_j % #1+8 opB,C->MXY @(#1 + h8 * stride) #include mc_alu2o.txt alu_b_to_1 alu_c_to_2 #2 ld_mem sel_xy % #1+9 opA,B @(#1 + h9 * stride) #include mc_alu2b.txt alu_a_to_1 alu_b_to_2 #2 % #1+10 opA,C @(#1 + ha * stride) #include mc_alu2b.txt alu_a_to_1 alu_c_to_2 #2 % #1+11 opB,C @(#1 + hb * stride) #include mc_alu2b.txt alu_b_to_1 alu_c_to_2 #2