en-us_products:mpino_studio2:box_functions:arithmetic:dec
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
- 1st = D: target address (stores the previous value −1 back to the same address)
Behavior Example
Cautions
- Make sure the result stays within the value range of the destination memory.
Box Functions in the Same Category
- ADD View details — Add
- SUB View details — Subtract
- MUL View details — Multiply
- DIV View details — Divide
- MOD View details — Modulo
- INC View details — Increment
- SCALE View details — Scale (Linear Interpolation)
- FLOOR View details — Floor
- SQRT View details — Square Root
en-us_products/mpino_studio2/box_functions/arithmetic/dec.txt · Last modified: by 127.0.0.1
