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

Arithmetic instruction

X-Bus control instructions



List | ▲ Back | Next ▼ | Assembler

NOP

X-Bus no operation

Operation details
The X-Bus instruction section will be unprocessed.

descriptive formula
label: NOP

instruction code
3130    2524 23                        

flag
No change.

remarks
none.


List | ▲ Back | Next ▼ | Assembler

MOV[s],X

Transfer (memory → [RX])

Operation details
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~M3,MC0~MC3

instruction code
3130    2524 23222120                     

bit data Addition mode options
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;This will be the data selected in the options.
CTx(x=0~3);Incremented only when b22=1. There is no change when b22=0.

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


List | ▲ Back | Next ▼ | Assembler

MOV MUL,P

Transfer (MULTIPLIER→[Pn])

Operation details
Transfer the upper 16 bits of 48 bits of MULTIPLIER data to [PH] and the lower 32 bits to [PL].

descriptive formula
label: MOV MUL,P

instruction code
3130    2524 23                        

flag
PH;MULTIPLIER upper 16 bit data.
PL;MULTIPLIER lower 32 bit data.

remarks
none.

List | ▲ Back | Next ▼ | Assembler

MOV[s],P

Transfer (memory → [PH])

Operation details
Transfer data 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~M3,MC0~MC3

instruction code
3130    2524 23222120                     

bit data Addition mode options
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;This will be the data selected in the options.
Changes with sign extension of PH;[PL]. To do.
CTx(x=0~3);Incremented only when b22=1. There is no change when b22=0.

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

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