Warning messages

The warning messages are listed when the -w flag is used with the as command.

Warning messages are listed when the -w flag is used with the as command. Some warning messages are related to instructions with the same op code for POWER® family and PowerPC®:

  • Several instructions have the same op code in both POWER® family and PowerPC® architectures, but have different functional definitions. The assembler identifies these instructions and reports warning number 153 when the target mode is com and the -w flag of the as command is used. Because these mnemonics differ functionally, they are not listed in the mnemonics cross-reference of the assembler listing generated when the -s flag is used with the as command. The following table lists these instructions.
    Table 1. Same Op Codes with Different Mnemonics
    POWER® family PowerPC®
    dcs sync
    ics isync
    svca sc
    mtsri mtsrin
    lsx lswx
  • The following instructions have the same mnemonics and op code, but have different functional definitions in the POWER® family and PowerPC® architectures. The assembler cannot check for these, because the differences are not based on the machine the instructions execute on, but rather on what protection domain the instructions are running in.
    • mfsr
    • mfmsr
    • mfdec