pe_macro(1)
It successively moves a 0 from the source into each of the flag bits shown
above.
SRC
Destination
Message Reference
tflag
Each flag bit
#1–#20
fflag
Each flag bit
#21–#40
rflag
Each flag bit
#41–#60
64[c0]
Each flag bit
#61–#80
After each move, it checks that lflag is cleared properly. After moving into all
of the flag bits, it checks that each was cleared properly.
•
MoveTests4e
: MOV1 MOVE PReg To Flag-Bit Test — This test uses the
following bits as operands:
Flags
PRegs
lsb
1026[c2] — c2 = 0
lflag
1027[c2] — c4 = 1024
cflag
1028[c2]
vflag
1029[c2]
zflag
1030[c2]
nflag
1031[c2]
tflag
1032[c2]
fflag
1033[c2]
rflag
1034[c2]
2[c4]
1035[c2]
1036[c2]
The test starts by testing the ability to perform the MOV1 function between
the following sources and destinations:
SRC
Destination
Message Reference
1025[c2]
Each flag bit
#1–#22
Each flag bit
Each PReg
#23–#44
If it detects an error in the result, it prints an error message giving the
instruction under test, the source and destination operands, the expected
result and the actual result.
•
MoveTests4f
: MOV1 Immediate To PReg Test — Enables all PEs, then uses
MOV1 to move a 1 into eight different PReg locations.
Repeats the above operation moving a 0 into the eight PReg locations.
If the test detects an error, it prints an error message giving the operation
attempted, the expected result and the actual result.
•
MoveTests5a
: MOV1UC—Flag To Flag 1’s Test (part 1) — This is a test of the
ability of the MOV1UC instruction to move a 1 from flag to flag. It uses the
following bits as operands:
lsb
B–24 Data Parallel Unit Reference Pages