bdfs1m0uStructured Programming Macros

#CONT-Convert Binary to Character Binary

Use this macro to generate inline code to convert a binary number in the low-order byte of a register to character binary. A character binary number is a binary number represented in a string that contains only EBCDIC 0 or 1.

Note:
See Table 1 for a summary of all the conversion macros.

Format




INPUT=reg1
specifies a register, reg1, that contains the binary number to convert.

TO=reg2
specifies a register, reg2, that points to the location that will contain the converted value.

ON=C'onchar'
specifies the character used to represent binary 1 in the output string, where onchar is the character.

OFF=C'offchar'
specifies the character used to represent binary 0 in the output string, where offchar is the character.

WORK=workarea
specifies a 5-byte work area.

Entry Requirements

None.

Return Conditions

Programming Considerations

Examples

Related Macros

None.