@opcode(<EOL><NUM_LIT>, <EOL>)<EOL><INDENT>def instruction_MUL(self, opcode):<DEDENT>
r = self.accu_a.value * self.accu_b.value<EOL>self.accu_d.set(r)<EOL>self.Z = <NUM_LIT:1> if r == <NUM_LIT:0> else <NUM_LIT:0><EOL>self.C = <NUM_LIT:1> if r & <NUM_LIT> else <NUM_LIT:0><EOL>
Multiply the unsigned binary numbers in the accumulators and place the
result in both accumulators (ACCA contains the most-significant byte of
the result). Unsigned multiply allows multiple-precision operations.

The C (carry) bit allows rounding the most-significant byte through the
sequence: MUL, ADCA #0.

source code forms: MUL

CC bits "HNZVC": --a-a