User Tools

Site Tools


en-us_products:mpino_studio2:box_functions:arithmetic:inc

INC Box Function

Increment

Category: Arithmetic Box Functions

Behavior

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

Syntax and Arguments

Syntax: INC D0

  • 1st = D: target address (stores the previous value +1 back to the same address)

Behavior Example

Run condition Before Command entered Expected result
Left condition ON D0=7 INC D0 D0=8

Inputs and results for Arithmetic Box Functions

Cautions

  • Make sure the result stays within the value range of the destination memory.

Box Functions in the Same Category

en-us_products/mpino_studio2/box_functions/arithmetic/inc.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki