09.07.2015 Views

mitsubishi - Al Kossow's Bitsavers

mitsubishi - Al Kossow's Bitsavers

mitsubishi - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

MITSUBISHI MICROCOMPUTERSMS0740·XXX5PSINGLE-CHIP a-BIT CMOS MICROCOMPUTERAddressing modeSymbolFunctionBVC V=O?(Note 4)BVS V=l?(Note 4)CLB Ab or Mb-OCLC C-OCLD 0-0CLI 1-0CLT T-OCLV V-ODetailsBranches when the contents of overflow flagare "0."Branches when the contents of overflow flagare "1."Clears the contents of the bit specified in theaccumulator or memory to "0."IMPOP nClears the contents of the carry flag to "0." 18 2Clears the contents of decimal mode flag to 08 2"0."Clears the contents of interrupt disable flag to 58 2"0."Clears the contents of X-modified arithmetic 12 2mode flag to "0."Clears the contents overflow flag to "0." B8 2IMM A BIT,A ZP BIT,ZP# OP n # OP n # OP n # OP n # OP n #111111,2i2 1 1F~i5 2CMP(Note 3)WhenT=OA-MWhen T=lM(X)-MCompares the contents of accumulator andmemory.Compares the contents of the memory specifiedby addressing modes in the columns onthe right with the contents of the address indi-C9 2 2 C5 3 2cated by index register X.COMM-MFormes one's complement of contents of mem-44 5 2ory, and store it into memory.CPXX-MCompares the contents of index register X andmemory.EO 2 2 E4 3 2CPYY-MCompares the contents of index register Y andmemory.CO 2 2 C4 3 2DECA-A-lorM-M-lDecrements the contents of accumulator ormemory by 1.1A 2 1 C6 5 2OEXX-X-1Decrements the contents of index register X by CA 21.1DEYY-Y-1Decrements the contents of index register Y by 88 21.1EOR(Note 1)When T=OA-A¥MWhen T=lM (X) -M (X)¥M"Exclusive-ORs" the contents of accumulatorand memory. The results are stored into theaccumulator."Exclusive-ORs" the contents of the memoryspecified by the addressing modes in the columnson the right and the contents of the mem-49 2 2 45 3 2ory at the address indicated by index registerX. The results are stored into the memory at theaddress indicated by index register X.FSTConnects oscillator output to XOUTF. E2 21INCA-A+lorM-M+lIncrements the contents of accumulator ormemory by 1.3A 2 1 E6 5 2INXX-X+lIncrements the contents of index register X by E8 21.1INYY-Y+lIncrements the contents of index register Y by C8 21.13-28• MITSUBISHI '.... ELECTRIC

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

Saved successfully!

Ooh no, something went wrong!