MC4010

The MC4010 math co-processor expands the limited MCxxxx family’s programming language by adding more complex mathematical operations.

In game description
Write a command sequence to any pin to instruct the MC4010 to perform a calculation. A command sequence (see table, right) consists of an operation code followed by one or two values. Once a complete command sequence is written to the MC4010, the  register is updated with the result of the specified calculation.

Reading from any pin retrieves the value stored in the  register. can be read any number of times.

In the following example, the command sequence  is sent to the MC4010 to perform the calculation. The result,, is stored in the   register and read back into the accumulator.

mov 50 x0 mov 20 x0 mov 4 x0 mov x0 acc # read back result (5)
 * 1) x0 is connected to an MC4010 input pin
 * 1) op code for division
 * 1) write first value
 * 1) write second value

Pricing
This part is for prototyping ONLY !

– Carl