Floating-Point Register type checking

The following examples use two instructions and are only concerned with the floating-point register fields:

Each unresolved floating-point register field may be an expression comprised of one or more terms. The assembler checks only the first term as follows:

Figure 81 shows an example of Floating-Point Register checking, with a warning message about an incompatible symbol type, and an informational message about a symbol not assigned an assembler type due to the existence of an EQU statement with FPR in the source code.

Figure 81. Floating-Point Register type checking with FPR activated
00000000 7845 C00C               0000000C     30          LE    4,12(5,12)
00000004 7845 C00C               0000000C     31          LE    FP4,12(R5,R12)
00000008 6825 C00C               0000000C     32          LD    A2,12(R5,R12)
** ASMA323W Symbol A2 has incompatible type with floating-point register field
0000000C 6865 C00C               0000000C     33          LD    FP6,12(R5,R12)
** ASMA324I Symbol FP6 may have incompatible type with floating-point register field
                                              34 *
                        00000004              35 FP4      EQU   4,,,,FPR
                        00000006              36 FP6      EQU   6
                                              37 *
                        00000005              38 R5       EQU   5,,,,GR
                        0000000C              39 R12      EQU   12,,,,GR
                        00000002              40 A2       EQU   2,,,,AR

Figure 82 shows an example of Floating-Point Register checking, with a warning message about an incompatible symbol type, and tolerance of symbols not assigned an assembler type due to the lack of an EQU statement with FPR in the source code.

Figure 82. Floating-Point Register type checking with FPR inactive
00000000 7845 C00C               0000000C     30          LE    4,12(5,12)
00000004 7845 C00C               0000000C     31          LE    FP4,12(R5,R12)
00000008 6825 C00C               0000000C     32          LD    A2,12(R5,R12)
** ASMA323W Symbol A2 has incompatible type with floating-point register field
0000000C 6865 C00C               0000000C     33          LD    FP6,12(R5,R12)
                                              34 *
                        00000004              35 FP4      EQU   4
                        00000006              36 FP6      EQU   6
                                              37 *
                        00000005              38 R5       EQU   5,,,,GR
                        0000000C              39 R12      EQU   12,,,,GR
                        00000002              40 A2       EQU   2,,,,AR

[ Top of Page | Previous Page | Next Page | Contents | Index ]