DEC

Top  Previous  Next

 

Decrement accu 1.

 

 Syntax :        DEC number

 

The number has to be between 0 and 255, is substracted from accu 1-LL and the result is stored in accu 1-LL again.The other bytes of the accu stay untouched.

 

DEC is a nice abbreviation for:

 L        number

 -I

especially because accu 2 stays untouched. But you have to take care that the result does not get less than 0 because otherwise there will be an unpleasant surprise.

 

Just as practical is + (Plus).

 

See also:

CPU

INC

-I

-D

-R

 

List of operations