WORD_TO_GRAY (FUN)

 

FUNCTION WORD_TO_GRAY : WORD

Converts one WORD of binary code into one WORD of GRAY code

InOut:

Scope

Name

Type

Comment

Return

WORD_TO_GRAY

WORD

Value in GRAY code for the input W

Input

W

WORD

Value in binary code