gtpg2m0qGeneral Macros

CCIDC-Convert CPUID to Processor Ordinal Number

This general macro is used to convert a given CPUID (alpha) to its corresponding processor ordinal number, or vice versa. This macro is designed for use in a loosely coupled (LC) environment in which the Processor ID Table has been generated. Given the symbolic address of a 1-byte field containing the CPUID or the processor ordinal number, this macro will return the associated processor ordinal number or CPUID.

Format




label
A symbolic name can be assigned to the macro statement.

CPUID=address
The symbolic address of a one-byte field containing CPUID to be converted.

PRORD=address
The symbolic address of a one-byte field containing processor ordinal number to be converted.

Entry Requirements

R9 must contain the address of the ECB being processed.

Return Conditions

Programming Considerations

Examples

None.