Return to previous page Return to menu Go to next page

■ 4.2 Instruction list

Tables 4.1 to 4.4 list the instructions used in the DSP.

Table 4.1 Instruction List (1)
 Type 
 Order 
 Outline 
 Operation instruction 
 ALU control 
 NOP 
 Do nothing. 
 AND 
 ANDs [ACL] and [PL]. 
 OR 
 OR with [ACL] and [PL]. 
 XOR 
 Exclusive OR of [ACL] and [PL]. 
 ADD 
 Add [ACL] and [PL]. 
 SUB 
 Subtract [PL] from [ACL]. 
 AD2 
 Add [ACH] [ACL] and [PH] [PL]. 
 SR 
 Shift [ACL] one bit to the right and store the LSB in the carry flag. 
 RR 
 [ACL] is rotated 1 bit to the right and the LSB is stored in the carry flag. 
 SL 
 Shift [ACL] one bit to the left, 0 into [ACL] LSB, MSB carry flag Store in 
 RL 
 Rotate [ACL] one bit to the left and store the MSB in the carry flag. 
 RL8 
 Rotate [ACL] 8 bits to the left, and store b24 in the carry flag. 
 X-Bus control 
 NOP 
 what If not. 
 MOV [s], X 
 Transfer data from data RAM to [RX]. 
 MOV MUL, P 
 Transfer the data of [MULTIPLIER] to [PH] [PL]. 
 MOV [s], P 
 Transfer data from data RAM to [PL]. 
 Y-Bus control 
 NOP 
 what If not. 
 MOV [s], Y 
 Transfer data from data RAM to [RY]. 
 CLR A 
 Clear [ACH] and [ACL] to 0. 
 MOV ALU, A 
 Transfer the data of [ALU] to [ACH] [ACL]. 
 MOV [s], A 
 Transfer data from data RAM to [ACL]. 
 D1-Bus control 
 NOP 
 what If not. 
 MOV SImm, [d] 
 Data RAM specified by [d] or SImm (short immediate) data Store in the 
register.
 MOV [s], [d] 
 [d] from the data RAM or register specified by [s] The specified data RAM or 
transfers data to the register.
 Load 
immediate instruction
 MVI Imm, [d] 
 Stores the data of Imm (immediate) 
in the data RAM or register specified by [d].
 MVI Imm, [d], Z 
 Imm only when the Z (zero flag) of the program control port is 1 (Immediate) 
data is stored in the data RAM or register specified by [d].
 MVI Imm, [d], NZ 
 Imm only when the Z (zero flag) of the program control port is 0 (Immediate) 
data is stored in the data RAM or register specified by [d].


Return to previous page Return to menu Go to next page