Renesas M32R-FPU Stereo System User Manual


 
APPENDICES
APPENDICES-5 M32R-FPU Software Manual (Rev.1.01)
mnemonic function condition bit (C)
FMADD Rdest,Rsrc1,Rsrc2 Rdest = Rdest + Rsrc1 * Rsrc2
FMSUB Rdest,Rsrc1,Rsrc2 Rdest = Rdest - Rsrc1 * Rsrc2
FMUL Rdest,Rsrc1,Rsrc2 Rdest = Rdest * Rsrc2
FSUB Rdest,Rsrc1,Rsrc2 Rdest = Rsrc1 - Rsrc2
FTOI Rdest,Rsrc Rdest = (s)Rsrc2
FTOS Rdest,Rsrc Rdest = (sh)Rsrc
ITOF Rdest,Rsrc Rdest = (float)Rsrc
JL Rsrc R14 = PC+4, PC = Rsrc
JMP Rsrc PC = Rsrc
LD Rdest,@(disp16,Rsrc) Rdest = *(s *)(Rsrc+(sh)disp16)
LD Rdest,@Rsrc Rdest = *(s *)Rsrc
LD Rdest,@Rsrc+ Rdest = *(s *)Rsrc, Rsrc += 4
LD24 Rdest,#imm24 Rdest = imm24 & 0x00ffffff
LDB Rdest,@(disp16,Rsrc) Rdest = *(sb *)(Rsrc+(sh)disp16)
LDB Rdest,@Rsrc Rdest = *(sb *)Rsrc
LDH Rdest,@(disp16,Rsrc) Rdest = *(sh *)(Rsrc+(sh)disp16)
LDH Rdest,@Rsrc Rdest = *(sh *)Rsrc
LDI Rdest,#imm16 Rdest = (sh)imm16
LDI Rdest,#imm8 Rdest = (sb)imm8
LDUB Rdest,@(disp16,Rsrc) Rdest = *(ub *)(Rsrc+(sh)disp16)
LDUB Rdest,@Rsrc Rdest = *(ub *)Rsrc
LDUH Rdest,@(disp16,Rsrc) Rdest = *(uh *)(Rsrc+(sh)disp16)
LDUH Rdest,@Rsrc Rdest = *(ub *)Rsrc
LOCK Rdest,@Rsrc LOCK = 1, Rdest = *(s *)Rsrc
MACHI Rsrc1,Rsrc2 accumulator += (s)(Rsrc1 & 0xffff0000)
* (s)((s)Rsrc2>>16)
MACLO Rsrc1,Rsrc2 accumulator += (s)(Rsrc1<<16) * (sh)Rsrc2
MACWHI Rsrc1,Rsrc2 accumulator += (s)Rsrc1 * (s)((s)Rsrc2>>16)
MACWLO Rsrc1,Rsrc2 accumulator += (s)Rsrc1 * (sh)Rsrc2
MUL Rdest,Rsrc Rdest = (s)Rdest * (s)Rsrc
MULHI Rsrc1,Rsrc2 accumulator = (s)(Rsrc1 & 0xffff0000)
* (s)((s)Rsrc2>>16)
MULLO Rsrc1,Rsrc2 accumulator = (s)(Rsrc1<<16) * (sh)Rsrc2
MULWHI Rsrc1,Rsrc2 accumulator = (s)Rsrc1 * (s)((s)Rsrc2>>16)
MULWLO Rsrc1,Rsrc2 accumulator = (s)Rsrc1 * (sh)Rsrc2
MV Rdest,Rsrc Rdest = Rsrc
MVFACHI Rdest Rdest = accumulater >> 32
MVFACLO Rdest Rdest = accumulator
MVFACMI Rdest Rdest = accumulator >> 16
MVFC Rdest,CRsrc Rdest = CRsrc
MVTACHI Rsrc accumulator[0:31] = Rsrc
MVTACLO Rsrc accumulator[32:63] = Rsrc
MVTC Rsrc,CRdest CRdest = Rsrc change
APPENDIX 2
Appendix 2 Instruction List