Table of Contents

DEC Box Function

Decrement

Category: Arithmetic Box Functions

Behavior

Decrements the destination by one and stores it back at the same address.

Syntax and Arguments

Syntax: DEC D0

Behavior Example

Run condition Before Command entered Expected result
Left condition ON D0=7 DEC D0 D0=6

Inputs and results for Arithmetic Box Functions

Cautions

Box Functions in the Same Category