en-us_products:mpino_studio2:box_functions:conversion:h2d
Table of Contents
H2D Box Function
BCD Decode (Hex to Decimal)
Category: Conversion Box Functions
Behavior
Interprets a source WORD containing four BCD digits as a decimal integer and stores the result.
Syntax and Arguments
Syntax: H2D D0 D1
- 1st = S: source word address to interpret as BCD (D/C/T)
- 2nd = D: destination word address to store the decoded decimal value
Behavior Example
Cautions
- Use the WORD data formats required by the command for the source and destination.
- Each hexadecimal digit in the input WORD must be from 0 to 9.
Box Functions in the Same Category
- INV View details — Invert
- NEG View details — Negate
- D2H View details — BCD Encode (Decimal to Hex)
en-us_products/mpino_studio2/box_functions/conversion/h2d.txt · Last modified: by 127.0.0.1
