60 lines
2.7 KiB
Plaintext
60 lines
2.7 KiB
Plaintext
|
9. Command of the loading of the LOAD register.
|
||
|
══════════════════════════════════════════
|
||
|
|
||
|
The given command differs from all other commands of accembler, because it
|
||
|
assigns the loading of the official registers, that refer to many nodes of the
|
||
|
complex of the microprocessor. Depending on the operand that follows after the
|
||
|
command, it can be with one or two operands:
|
||
|
|
||
|
1)The loading of the register of the inputting of the operand of the block
|
||
|
of the ALU:
|
||
|
|
||
|
LOAD RA;
|
||
|
LOAD RB;
|
||
|
|
||
|
the given command does not require as second operand to indicate the
|
||
|
source of the loading or direct operand, because as hardware registers
|
||
|
are connected to data bus and after presenting the signal record the
|
||
|
value will be loaded in them, which is at present found on bus.
|
||
|
|
||
|
2)loading of registers of the marks of the controller of shifts:
|
||
|
|
||
|
LOAD RM;
|
||
|
LOAD RN;
|
||
|
here as the second operand it is possible to indicate necessary values:
|
||
|
|
||
|
1)Z - loading in all four marks the register of the zeroes;
|
||
|
|
||
|
2)NZ- loading in all four marks the register of the numeral;
|
||
|
|
||
|
3)FLAGS - loading in registers signs of execution of last
|
||
|
operation in block ALU; with using the operator of the modification
|
||
|
@ flags will be loaded in modified type (refer to table of the
|
||
|
loading registers of marks);
|
||
|
|
||
|
besides it is possible to load one register by another. The Examples:
|
||
|
|
||
|
LOAD RM,Z;
|
||
|
LOAD RN,RM;
|
||
|
XOR R1,R5;
|
||
|
LOAD RM,FLAGS;
|
||
|
|
||
|
The rest of the types of the loading of registers of marks are available
|
||
|
when the command FIELD is in a use.
|
||
|
|
||
|
3)The loading of the registers of the mask and conditions of the block of
|
||
|
the processing of the interruptions.
|
||
|
The Command can be with one or two operands. The Difference is that in
|
||
|
one operanded command registers are loaded by current information from
|
||
|
data bus while under direct inputting of the operand of the loading, it
|
||
|
is brought in the data field of microinstruction and is read on data bus
|
||
|
from there. For instance:
|
||
|
|
||
|
LOAD SR,7; \register of the condition is with 3 digits,
|
||
|
\remember that attempt to load there number
|
||
|
\greater then 7 will cause a mistake\
|
||
|
INC R1;
|
||
|
LOAD MR; \load in register of the mask
|
||
|
\the incremented value of the register
|
||
|
\R1(more exactly the younger 8 digits)
|