13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Basic Function <strong>Instruction</strong>FUN 13 D P(*)SymbolMULTIPLICATION(Performs multiplication of the data specified at Sa and Sb and stores the result in D)FUN 13 D P(*)OperandSa: MultiplicandSb: MultiplierD : Destination register to store theresults of the multiplication.Sa, Sb, D may combine with V, Z,P0~P9 to serve indirect addressingRangeOperandWX WY WM WS TMR CTR HR IR OR SR ROR DR K XRWX0∣WX240WY0∣WY240WM0∣WM1896WS0∣WS984T0∣T255C0∣C255R0∣R3839R3840∣R3903R3904∣R3967R3968∣R4167R5000∣R8071D0∣D409516/32-bit+/− numberSa ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○Sb ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○D ○ ○ ○ ○ ○ ○ ○ ○* ○* ○ ○V、ZP0~P9Description●Performs the multiplication of the data specified at Sa and Sb and writes the results to a specified registerD when the multiplication control input "EN" =1 or "EN↑" ( P instruction) from 0 to 1. If the product ofmultiplication is equal to 0 then set FO0 to 1. If the product is a negative number, then set FO1 to 1.Example 116-bit multiplicationLadder Diagram Key Operations Mnemonic CodesX013P.(*)ENU/SSa :Sb :D :RRR012D=0D

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!