
3.0 Functional Description
(Continued)
The CPU next sends the Operation Word while applying
Status Code 1101 (Transfer Slave Operand, Section
3.5.5.1). Upon receiving it, the Slave Processor decodes it,
and at this point both the CPU and the Slave Processor are
aware of the number of operands to be transferred and their
sizes. The Operation Word is swapped on the Data Bus;
that is, bits 0–7 appear on pins AD8–AD15 and bits 8–15
appear on pins AD0–AD7.
Using the Address Mode fields within the Operation Word,
the CPU starts fetching operands and issuing them to the
Slave Processor. To do so, it references any Addressing
Mode extensions which may be appended to the Slave
Processor instruction. Since the CPU is solely responsible
for memory accesses, these extensions are not sent to the
Slave Processor. The Status Code applied is 1101 (Transfer
Slave Processor Operand, Section 3.5.5.1).
After the CPU has issued the last operand, the Slave Proc-
essor starts the actual execution of the instruction. Upon
completion, it will signal the CPU by pulsing SPC low.
While the Slave Processor is executing the instruction, the
CPU is free to prefetch instructions into its queue. If it fills
the queue before the Slave Processor finishes, the CPU will
wait, applying Status Code 0011 (Waiting for Slave).
Upon receiving the pulse on SPC, the CPU uses SPC to
read a Status Word from the Slave Processor, applying
Status Code 1110 (Read Slave Status). This word has the
format shown inFigure 3-3. If the Q-bit (‘‘Quit’’, Bit 0) is set,
this indicates that an error was detected by the Slave Proc-
essor. The CPU will not continue the protocol, but will imme-
Status Combinations:
Send ID (ID): Code 1111
Xfer Operand (OP): Code 1101
Read Status (ST): Code 1110
Step
1
2
3
4
Status
ID
OP
OP
D
Action
CPU Sends ID Byte
CPU Sends Operation Word
CPU Sends Required Operands
Slave Starts Execution.
CPU Pre-Fetches.
Slave Pulses SPC Low
CPU Reads Status Word.
(Trap Alter Flags)
CPU Reads Results (If Any).
5
6
D
ST
7
OP
FIGURE 3-2. Slave Processor Protocol
diately trap through the Slave vector in the Interrupt Table.
Certain Slave Processor instructions cause CPU PSR bits to
be loaded from the Status Word.
The last step in the protocol is for the CPU to read a result,
if any, and transfer it to the destination. The Read cycles
from the Slave Processor are performed by the CPU while
applying Status Code 1101 (Transfer Slave Operand).
3.1.3.2 Floating-Point Instructions
Table 3-1 gives the protocols followed for each Floating-
Point instruction. The instructions are referenced by their
mnemonics. For the bit encodings of each instruction, see
Appendix A.
TABLE 3-1. Floating-Point Instruction Protocols
Operand 2
Operand 1
Class
Issued
rmw.f
f
rmw.f
f
rmw.f
f
rmw.f
f
Mnemonic
Operand 1
Class
read.f
read.f
read.f
read.f
Operand 2
Issued
f
f
f
f
Returned Value
Type and Dest.
f to Op.2
f to Op.2
f to Op.2
f to Op.2
PSR Bits
Affected
none
none
none
none
ADDf
SUBf
MULf
DIVf
MOVf
ABSf
NEGf
read.f
read.f
read.f
write.f
write.f
write.f
f
f
f
N/A
N/A
N/A
f to Op.2
f to Op.2
f to Op.2
none
none
none
CMPf
read.f
read.f
f
f
N/A
N,Z,L
FLOORfi
TRUNCfi
ROUNDfi
read.f
read.f
read.f
write.i
write.i
write.i
f
f
f
N/A
N/A
N/A
i to Op.2
i to Op.2
i to Op.2
none
none
none
MOVFL
MOVLF
read.F
read.L
write.L
write.F
F
L
N/A
N/A
L to Op.2
F to Op.2
none
none
MOVif
read.i
write.f
i
N/A
f to Op.2
none
LFSR
SFSR
read.D
N/A
N/A
write.D
D
N/A
N/A
N/A
none
none
N/A
D to Op. 2
POLYf
DOTf
SCALBf
LOGBf
read.f
read.f
read.f
read.f
read.f
read.f
rmw.f
write.f
f
f
f
f
f
f
f
f to F0
f to F0
f to Op. 2
f to Op. 2
none
none
none
none
N/A
Notes:
D
e
Double Word
i
e
Integer size (B, W, D) specified in mnemonic.
f
e
Floating-Point type (F, L) specified in mnemonic.
N/A
e
Not Applicable to this instruction.
27