GRAY_TO_WORD (FUN)

 

FUNCTION GRAY_TO_WORD : WORD

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

Requirements: Functions: PUTBIT, EXTRACT

InOut:

Scope

Name

Type

Comment

Return

GRAY_TO_WORD

WORD

Value in binary code for input W

Input

W

WORD

Value in GRAY code