diff options
Diffstat (limited to 'opcodes/tic80-opc.c')
-rw-r--r-- | opcodes/tic80-opc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/opcodes/tic80-opc.c b/opcodes/tic80-opc.c index 6e2e260..bf8dc4f 100644 --- a/opcodes/tic80-opc.c +++ b/opcodes/tic80-opc.c @@ -831,14 +831,17 @@ const struct tic80_opcode tic80_opcodes[] = { {"vadd.ss", OP_LI(0x3C1) | P2(0) | P1(0), MASK_LI | V_a(1) | P2(1) | P1(1), TIC80_VECTOR, {SPFI, REG_22, REG_22} }, {"vadd.sd", OP_LI(0x3C1) | P2(1) | P1(0), MASK_LI | V_a(1) | P2(1) | P1(1), TIC80_VECTOR, {SPFI, REG_22, REG_22} }, - /* Vector Load Data Into Register */ + /* Vector Floating-Point Multiply and Add to Accumulator */ + + /* Vector Load Data Into Register - Note that this comes after all the other + vector instructions so that the disassembler will always print the load instruction + second for vector instructions that have two instructions in the same opcode. */ {"vld0.s", OP_V(0x1E) | V_m(1) | V_S(0) | V_p(0), MASK_V | V_m(1) | V_S(1) | V_p(1), TIC80_VECTOR, {REG_DEST} }, {"vld1.s", OP_V(0x1E) | V_m(1) | V_S(0) | V_p(1), MASK_V | V_m(1) | V_S(1) | V_p(1), TIC80_VECTOR, {REG_DEST} }, {"vld0.d", OP_V(0x1E) | V_m(1) | V_S(1) | V_p(0), MASK_V | V_m(1) | V_S(1) | V_p(1), TIC80_VECTOR, {REG_DEST} }, {"vld1.d", OP_V(0x1E) | V_m(1) | V_S(1) | V_p(1), MASK_V | V_m(1) | V_S(1) | V_p(1), TIC80_VECTOR, {REG_DEST} }, - {"xnor", OP_LI(0x333), MASK_LI, 0, FIXME}, {"xnor", OP_REG(0x332), MASK_REG, 0, FIXME}, {"xnor", OP_SI(0x19), MASK_SI, 0, FIXME}, |