BCD_TO_WORD (FUN)

 

FUNCTION BCD_TO_WORD : WORD

Converts one WORD in BCD code into one WORD in binary code

Use WORD_TO_BCD for the reverse conversion.

InOut:

Scope

Name

Type

Comment

Return

BCD_TO_WORD

WORD

Value in binary code for the input W

Input

W

WORD

Value in BCD code