First page Back Continue Last page Overview Graphics

More Arithmetic Instructions


Notes:

The DEC and INC instructions, operate on byte-sized destinations. DEC will decrement the contents of a memory location. INC increments the contents of a memory location. All addressing modes are available.

The remaining instructions operate on registers and do not have operands.

Examples:
Var1: dc.b 30
dec Var1