Question

Is there a code in the CPU12 processor that provides straightforward NOT functionality?

Was it helpful?

Solution

This should be the datasheet you're looking for. There is no logical NOT available, you'll have to code it yourself.

Freescale-CPU12-datasheet

OTHER TIPS

COM, COMA and COMB look like they do what you're looking for; they calculate the one's complement for a memory location, the A or the B register, respectively.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top