Lcfi - Xerox 550 Reference Manual

Computer
Hide thumbs Also See for 550:
Table of Contents

Advertisement

Condition code settings:
2
3
4
Result in R
0
0
Zero
0
Negative
0
Positive
Note: Write locks protect memory and traps are not in-
hibited during the execution of LAS.
LS
LOAD SELECTNE
(Word index alignment)
o
1 2
Register Ru 1 contains a 32-bit mask.
If R is em even value,
LOAD SELECTIVE loads the effective word into register R
in those bit positions selected by a 1 in corresponding bit
positions of register Ru
1.
The contents of register R are not
affected in those bit positions selected by a 0 in corre-
sponding bit positions of register Rul.
If R is an odd value, LS logically ANDs the contents of
register R with the effective word and loads the result into
register R.
If
corresponding bit positions of register Rand
the effective word both contain lis, a 1 remains in reg-
ister R; otherwise, a 0 is placed in the corresponding bit
posi ti on of regi ster R.
Affected: (R), CC3, CC4
If R is even, [EWn(Rul)] u [(R)n(Ru1)] - R
If
R is odd, EWn(R) -
R
Condition code settings:
2
3
4
Result in R
-
0
0
Zero.
-
-
0
Bit 0 of register R is a 1.
o
Bit 0 of regi ster R is a 0 and bit positions 1-31
of register R contain at least one 1.
Example 1, even R field value:
Before execution
After execution
EW
X I 01234567
1
X I 01234567
1
(Ru 1)
XI FFOOFFOOI
XI FFOOFFOOI
(R)
xxxxxxxx
X I 01 xx45xx
l
CC
xxxx
xx10
Example 2, odd R field value:
Before execution
After execution
EW
X I 89ABCDEP
X I 89ABCDEF I
(R)
XI FOFOFOFO I
X I 80AOCOEOI
CC
xxxx
xx01
LM
LOAD MULTIPLE
(Word index alignment)
LOAD MULTIPLE loads a sequential set of words into a se-
quential set of registers, the set of words to be loaded begins
with the word pointed to by the effective address of LM,
and the set of registers begins with register R.
The set of
registers is treated modulo 16 (i. e., the next register loaded
after register 15 is register 0 in the current register block).
Ihe number of words to be loaded into the general registers
is determined by the setting of the condition code immedi-
atey
before the execution of LM. (The desired value of the
condition code can be set with LCF or LCFI.) An initia
I
value of 0000 for the condition code causes 16 consecutive
words to be loaded into the register block.
Affected: (R) to (R-tCC-l)
(EWL -Ri(EWL+1) -R+l), ... , (EWL-tCC-1) -
R-tCC-1
The LM instruction may cause
CI
trap if its operation ex-
tends into a page of memory that is protected by the access
protection codes. A trap may also occur if the operation
extends into a nonexistent memory region.
If the effective virtual address of the LM instruction is in
the range 0 through 15, then the words to be loaded are
taken from the general registers rather than from main mem-
ory. In this case the results will be unpredictable
if
any of
the source registers are also used as destination registers.
LCFI
LOAD CONDITIONS AND FLOATING
CONTROL IMMEDIATE
(Immediate operand)
If
bit position 10 of the instruction word contains a 1, LOAD
CONDITIONS AND FLOATING CONTROL IMMEDIATE
loads the contents of bit positions 24 through 27 of the in-
struction word into the condition code; however, if bit 10
is 0, the condition code is not affected.
If
bit position 11 of the instruction word contains a 1,
LCFI loads the contents of bit positions 28 through 31 of
the instruction word into the floating round (FR), floating
Load/Store Instructions
53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents