pe_macro(1)
lflag
cflag
vflag
zflag
nflag
tflag
fflag
rflag
64[c0]
First, it tests that the MOV1UC instruction can move an immediate 1 or 0
into each of the above flag bits, and that the lflag is correct after each move
(message #1–#41).
Next, it successively moves a 1 from the source into each of the flag bits in
the list shown above.
SRC
Destination
Message Reference
lsb
Each flag bit
#42–#51
lflag
Each flag bit
#52–#61
cflag
Each flag bit
#62–#71
vflag
Each flag bit
#72–#81
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.
This test is continued in MoveTests5b.ma
•
MoveTests5b
: MOV1UC Flag To Flag 1’s Test (part 2) — 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
lflag
cflag
vflag
zflag
nflag
tflag
fflag
rflag
64[c0]
It successively moves a 1 from the source into each of the flag bits in the list
shown above.
SRC
Destination
Message Reference
zflag
Each flag bit
#1–#10
nflag
Each flag bit
#11–#20
tflag
Each flag bit
#21–#30
fflag
Each flag bit
#31–#40
Data Parallel Unit Reference Pages B–25