Table of Contents

SUB Box Function

Subtract

Category: Arithmetic Box Functions

Behavior

Subtracts the second value from the first and stores the result in the destination.

Syntax and Arguments

Syntax: SUB D0 D1 D2

Behavior Example

Run condition Before Command entered Expected result
Left condition ON D0=12, D1=5 SUB D0 D1 D2 D2=7

Inputs and results for Arithmetic Box Functions

Cautions

Box Functions in the Same Category