13.07.2015 Views

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

AppendicesInstruction Mnemonic Code Symbol/Operand Function LocationDOUBLEUNSIGNEDBINARYMULTIPLY*UL@*ULExecutioncondition423Multiplies 8-digit unsigned hexadecimal data and/orOutput Required*UL(423)constants.MdMd + 1 Md (Unsigned binary)MrR×Mr + 1 Mr (Unsigned binary)Md: 1stmultiplicand wordMr: 1st multiplierwordR: 1st result wordR + 3 R + 2R + 1R(Unsigned binary)BCD MULTIPLY *B@*B424Multiplies 4-digit (single-word) BCD data and/or constants.Output Required*B(424)MdMd (BCD)MrR×Mr (BCD)Md: MultiplicandwordMr: MultiplierwordR: Result wordR +1R(BCD)DOUBLE BCDMULTIPLY*BL@*BL425 Output Required*BL(425)Multiplies 8-digit (double-word) BCD data and/or constants.MdMd + 1 Md (BCD)MrR×Mr + 1 Mr (BCD)Md: 1stmultiplicand wordMr: 1st multiplierwordR: 1st result wordR + 3 R + 2R + 1R(BCD)SIGNEDBINARYDIVIDE/@/430 Output Required/(430) Divides 4-digit (single-word) signed hexadecimaldata and/or constants.DdDd (Signed binary)DrR÷Dr (Signed binary)Dd: Dividend wordDr: Divisor wordR: Result wordR +1RemainderRQuotient(Signed binary)DOUBLESIGNEDBINARYDIVIDE/L@/L431 Output Required/L(431) Divides 8-digit (double-word) signed hexadecimal dataand/or constants.DdDd + 1 Dd (Signed binary)DrR÷Dr + 1 Dr (Signed binary)Dd: 1st dividendwordDr: 1st divisorwordR: 1st result wordR + 3 R + 2RemainderR + 1QuotientR(Signed binary)UNSIGNEDBINARYDIVIDE/U@/U432 Output Required/U(432) Divides 4-digit (single-word) unsigned hexadecimaldata and/or constants.DdDrDd (Unsigned binary)R÷Dr (Unsigned binary)Dd: Dividend wordDr: Divisor wordR: Result wordR +1R (Unsigned binary)RemainderQuotientA-28 <strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>

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

Saved successfully!

Ooh no, something went wrong!