The following examples use the Load Access Multiple (LAM) instruction and are only concerned with the access register fields. The first and second operands are register fields requiring a resolved absolute value of 0 through to 15. This value specifies an Access Register (AR).
Each unresolved access register field may be an expression comprised of one or more terms. The assembler checks only the first term as follows:
Figure 73 shows an example of Access Register checking, with warning messages about incompatible symbol types, and an informational message about a symbol not assigned an assembler type due to the existence of an EQU statement with AR in the source code.
00000000 9AEC D00C 0000000C 30 LAM 14,12,12(13)
00000004 9AEC D00C 0000000C 31 LAM A14,A12,12(R13)
00000008 9AEC D00C 0000000C 32 LAM R14,R12,12(R13)
** ASMA323W Symbol 'R14' has incompatible type with access register field
** ASMA323W Symbol 'R12' has incompatible type with access register field
0000000C 9AEC D00C 0000000C 33 LAM AR14,A12,12(R13)
** ASMA324I Symbol 'AR14' may have incompatible type with access register field
34 *
0000000C 35 A12 EQU 12,,,,AR
0000000E 36 A14 EQU 14,,,,AR
37 *
0000000C 38 R12 EQU 12,,,,GR
0000000D 39 R13 EQU 13,,,,GR
0000000E 40 R14 EQU 14,,,,GR
41 *
0000000C 42 AR12 EQU 12
0000000E 43 AR14 EQU 14Figure 74 shows an example of Access Register checking, with warning messages of incompatible symbol types, and tolerance of symbols not assigned an assembler type due to the lack of an EQU statement with AR in the source code.
00000000 9AEC D00C 0000000C 30 LAM 14,12,12(13)
00000004 9AEC D00C 0000000C 31 LAM A14,A12,12(R13)
00000008 9AEC D00C 0000000C 32 LAM R14,R12,12(R13)
** ASMA323W Symbol R14 has incompatible type with access register field
** ASMA323W Symbol R12 has incompatible type with access register field
0000000C 9AEC D00C 0000000C 33 LAM AR14,A12,12(R13)
34 *
0000000C 35 A12 EQU 12
0000000E 36 A14 EQU 14
37 *
0000000C 38 R12 EQU 12,,,,GR
0000000D 39 R13 EQU 13,,,,GR
0000000E 40 R14 EQU 14,,,,GR
41 *
0000000C 42 AR12 EQU 12
0000000E 43 AR14 EQU 14[ Top of Page | Previous Page | Next Page | Contents | Index ]