pe_macro(1)
SRC
Destination
Message Reference
rflag
Each flag bit
#41–#50
64[c0]
Each flag bit
#51–#60
After moving 1 into all of the flag bits, it checks that each was set properly.
If the test detects an error, it prints an error message giving the operation,
the expected result and the actual result.
•
MoveTests5c
: MOV1UC Flag To Flag 0’s Test (Part 1) — This is a test of the
ability of the MOV1UC instruction to move a 0 from flag to flag. It uses the
following bits as operands:
lsb
lflag
cflag
vflag
zflag
nflag
tflag
fflag
rflag
64[c0]
It successively moves a 0 from the source into each of the flag bits in the list
shown above.
SRC
Destination
Message Reference
~lsbag
Each flag bit
#1--#10
~lflag
Each flag bit
#11--#20
~cflag
Each flag bit
#21--#30
~vflag
Each flag bit
#31--#40
~zflag
Each flag bit
#41--#50
~nflag
Each flag bit
#51--#60
After moving 0 into all of the flag bits, it checks that each was cleared
properly.
If the test detects an error, it prints an error message giving the operation,
the expected result and the actual result.
This test is continued in MoveTests5d.ma
•
MoveTests5d
: MOV1UC Flag To Flag 0’s Test (part 2) — This is a test of the
ability of the ’mov1uc’ instruction to move a 0 from flag to flag.
It uses the following bits as operands:
lsb
lflag
cflag
vflag
zflag
nflag
tflag
fflag
B–26 Data Parallel Unit Reference Pages