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

Arithmetic instructions

X-Bus control command



List | ▲ Back | Next ▼ | Assembler

NOP

X-Bus No Operation

Operation content
The X-Bus command is unprocessed.

Descriptive formula
label: NOP

Instruction code
31 30 twenty five twenty four twenty three 0
0 0 0 0 0

flag
It doesn't change.

remarks
none.


List | ▲ Back | Next ▼ | Assembler

MOV [s], X

Transfer (Memory → [RX])

Operation content
Data is transferred from the data RAM at the address indicated by [CTx (x = 0 to 3)] to [RX].

Descriptive formula
label: MOV [Source RAM], X
Source RAM = M0 to M3, MC0 to MC3

Instruction code
31 30 twenty five twenty four twenty three twenty two twenty one 20 0
0 0 1 0 0 x x x

Bit data Addition mode choice
bit22 bit21 bit20
0 0 0 DATA RAM0 → [RX]
0 0 1 DATA RAM1 → [RX]
0 1 0 DATA RAM2 → [RX]
0 1 1 DATA RAM3 → [RX]
1 0 0 DATA RAM0 → [RX], CT0 ++
1 0 1 DATA RAM1 → [RX], CT1 ++
1 1 0 DATA RAM2 → [RX], CT2 ++
1 1 1 DATA RAM3 → [RX], CT3 ++

flag
RX; It will be the data selected in the options.
It is incremented only when CTx (x = 0 to 3); b22 = 1. It does not change when b22 = 0.

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)].


List | ▲ Back | Next ▼ | Assembler

MOV MUL, P

Transfer (MULTIPLIER → [Pn])

Operation content
MULTIPLIER Transfers the upper 16 bits of 48 bits to [PH] and the lower 32 bits to [PL].

Descriptive formula
label: MOV MUL, P

Instruction code
31 30 twenty five twenty four twenty three 0
0 0 0 1 0

flag
PH; MULTIPLIER Higher 16-bit data.
PL; MULTIPLIER The lower 32 bits of data.

remarks
none.

List | ▲ Back | Next ▼ | Assembler

MOV [s], P

Transfer (Memory → [PH])

Operation content
Data is transferred from the data RAM at the address indicated by [CTx (x = 0 to 3)] to [PL].

Descriptive formula
label: MOV [Source RAM], P
Source RAM = M0 to M3, MC0 to MC3

Instruction code
31 30 twenty five twenty four twenty three twenty two twenty one 20 0
0 0 0 1 1 x x x

Bit data Addition mode choice
bit22 bit21 bit20
0 0 0 DATA RAM0 → [PL]
0 0 1 DATA RAM1 → [PL]
0 1 0 DATA RAM2 → [PL]
0 1 1 DATA RAM3 → [PL]
1 0 0 DATA RAM0 → [PL], CT0 ++
1 0 1 DATA RAM1 → [PL], CT1 ++
1 1 0 DATA RAM2 → [PL], CT2 ++
1 1 1 DATA RAM3 → [PL], CT3 ++

flag
PL; It will be the data selected in the selection.
PH; It changes with the sign extension of [PL]. To do.
It is incremented only when CTx (x = 0 to 3); b22 = 1. It does not change when b22 = 0.

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