HARDWARE ManualSCU User's Manual
BackForward
SCU User's Manual / Chapter 4 DSP Control

Arithmetic instructions

D1-Bus control command

The D1-Bus control instruction controls the exchange of data between the memories connected to D1-Bus.

List | ▲ Back | Next ▼ | Assembler

NOP

D1-Bus no operation

Operation content
D1-Bus part becomes unprocessed.

Descriptive formula
label: NOP

Instruction code
31 30 13 12 0
0 0 0 0

flag
It doesn't change.

remarks
none.


List | ▲ Back | Next ▼ | Assembler

MOV SImm, [d]

Transfer (SImm → [destination])

Operation content
Transfer the SImm data to the RAM or register specified in [destination].
SImm data is signed 8-bit data.

Descriptive formula
label: MOV SImm, [Destination]
Destination = MC0 ~ MC3, RX, PL, RA0, WA0, LOP, TOP, TC0 ~ TC3

Instruction code
31 30 13 12 11 Ten 9 8 7 0
0 0 0 1 x x x x SImm data

Bit data [d] Selected limbs
bit11 bit10 bit9 bit8
0 0 0 0 DATA RAM0, CT0 ++
0 0 0 1 DATA RAM1, CT1 ++
0 0 1 0 DATA RAM2, CT2 ++
0 0 1 1 DATA RAM3, CT3 ++
0 1 0 0 [RX]
0 1 0 1 [PL]
0 1 1 0 [RA0]
0 1 1 1 [WA0]
1 0 0 0 unused
1 0 0 1 unused
1 0 1 0 [LOP]
1 0 1 1 [TOP]
1 1 0 0 [CT0]
1 1 0 1 [CT1]
1 1 1 0 [CT2]
1 1 1 1 [CT3]

flag
The area selected by the [d] choice; Imm data.

remarks
[MCx (x = 0 to 3)] specifies DATA RAMx (x0 to 3), and after transfer, increments [CTx (x = 0 to 3)].


List | ▲ Back | Next ▼ | Assembler

MOV [s], [d]

Transfer ([source] → [destination])

Operation content
Transfers the RAM or register data specified in [source] to the RAM or register specified in [destination].

Descriptive formula
label: MOV [source], [destination]

Sourse = MC0 ~ MC3, MC0 ~ MC3, ALH, ALL
Destination = MC0 ~ MC3, RX, PL, RA0, WA0, LOP, TOP, TC0 ~ TC3

Instruction code
31 30 13 12 11 Ten 9 8 3 2 1 0
0 0 0 1 x x x x x x x x

Bit data [d] Selected limbs
bit11 bit10 bit9 bit8
0 0 0 0 DATA RAM0, CT0 ++
0 0 0 1 DATA RAM1, CT1 ++
0 0 1 0 DATA RAM2, CT2 ++
0 0 1 1 DATA RAM3, CT3 ++
0 1 0 0 [RX]
0 1 0 1 [PL]
0 1 1 0 [RA0]
0 1 1 1 [WA0]
1 0 0 0 unused
1 0 0 1 unused
1 0 1 0 [LOP]
1 0 1 1 [TOP]
1 1 0 0 [CT0]
1 1 0 1 [CT1]
1 1 1 0 [CT2]
1 1 1 1 [CT3]
Bit data [d] Selected limbs
bit13 bit2 bit1 bit0
0 0 0 0 DATA RAM0
0 0 0 1 DATA RAM1
0 0 1 0 DATA RAM2
0 0 1 1 DATA RAM3
0 1 0 0 DATA RAM3, CT0 ++
0 1 0 1 DATA RAM3, CT1 ++
0 1 1 0 DATA RAM3, CT2 ++
0 1 1 1 DATA RAM3, CT3 ++
1 0 0 0 unused
1 0 0 1 [ALU LOW]
1 0 1 0 [ALU HIGHT]
Higher 32 bits out of 48 bits

flag
The area selected by the [d] choice; the data of the area selected by the [s] choice.

remarks
[Mx (x = 0 to 3)] specifies DATA RAMx (x0 to 3).
[MCx (x = 0 to 3)] specifies DATA RAMx (x0 to 3), and after transfer, increments [CTx (x = 0 to 3)].

BackForward
HARDWARE ManualSCU User's Manual
Copyright SEGA ENTERPRISES, LTD., 1997