09.07.2015 Views

mitsubishi - Al Kossow's Bitsavers

mitsubishi - Al Kossow's Bitsavers

mitsubishi - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MITSUBISHI MICROCOMPUTERSMELPS 8-48 MICROCOMPUTERSFUNCTION OF MELPS 8-48 MICROCOMPUTERS~ TypeMnemonicANL A, ItnANL A, RrANL A, (gRrI nstruc'tion codeD7 D6D5 O. 0 3 02 0 1 0 00 1 0 1 0 0 1 1"7"6"5"4 "3"2"'"00 1 0 1 1 r.2 r, r 00 1 0 1 0 0 o roHexadecimal5358+50+., ~>-Uco >-UFunction(A)~(A)An(A)~(A)A(Rr)r=0-7(A)~(A) A(M(Rr»r=O-1Effectedcarry.,C AC 0zDescriptionThe logical product of the contents of registerA and data n, is stored in register A.The logical product of the contents of registerA and the contents of register R" isstored in register A.The logical product of the contents ofregister A and the contents of memory location,of the current page, whose address isin register R" is stored in register A.ORL A, ItnORL A, RrORL A, (gRrXRL A, Itn0 1 0 0 0 0 1 1"7"6"5"4 "3"2","00 1 0 0 1 r2 r, ro0 1 0 0 0 0 oro1 1 0 1 0 0 1 1"7"6"5"4 "3"2"'"01 1 0 1 1 r 2 r, r 0u XRL A, Rr;:;~1 1 0 1 0XRL A, cgRr~INC A0 oro0 0 0 1 0 1 1 14348+40+0308+DO+1 7(A) ~ (A)Vn(A) ~ (A) V (Rr)r=0-7(A)~(A)V (M(Rr»r=O-12 (A)~(A)Vn(A) ~ (A)V- (Rr)r=I-7(A)~(A)V (M(Rr»r=O-1(A)~(A)+1The logical sum of the contents of registerA and data n, is stored in register AThe logical sum of the contents of register Aand the contents of register R, is stored inregister A.The logical sum of the contents of register Aand the contents of memory location, ofthe current page, whose address is in registerR" is stored in register A.The exclusive OR of the contents of registerA and data n, is stored in register A.The exclusive OR of the contents of registerA and the contents of register R, is storedin registerA.The exclusive 0 R of the contents of registerA and the contents of memory location, ofthe current page, whose address is in registerR" is stored in register A.I ncrements the contents of register A by 1.The result is stored in register A, and the carriesare unchanged.IIDEC A0 0 0 0 0 1 1 107(A)~(A)-1Decrements the contents of register A by 1_The result is stored in register A, and the Carriesare unchanged.CLR A0 0 1 0 0 1 1 127(A)~OClears the contents of register A, resets toO.CPL A0 0 1 1 0 1 1 137(A)~(A)Forms 1 's complement of register A, andstores it in register ADA ASWAP A0 1 0 1 0 1 1 10 1 0 0 0 1 1 15747(A)~(A) 10 Hexadecimal(A4-A7)~ (Ao-A3)0 0 1The contents of register A is converted to bi narycoded decimal notion, and it is stored in registerA.lf the contents of register Aare morethan99the carry flags are set to 1 otherwise they arereset to O.Exchanges the contents of bits 0-3 of regis:ter A with the contents of bits 4-7 of registerARL A1 1 1 0 0 1 1 1E 7(An+,)~(An)(Ao)~(A7) n=0-6Shifts the contents of register A left one bit.A7 the MSB is rotated to Ao the LSBRLC A1 1 1 1 0 1 1 1F 7(An+,)~(An)(Ao)~(C)(C)~(A7) n=0-60Shifts the contents of register A left one bit.A7 the MSB is shifted to the carry flag andthe carry flag is shifted to Ao the LSB.RR A0 1 1 1 0 1 1 177(An)~(An+l)(A7)~ (Ao) n=0-6Shifts the contents of register A right onebit. Ao the LSB is rotated to A7 the MSB.RRC A0 1 1 0 0 1 1 167(An)~(An+l)(A7)~(C)(C)~(Ao) n=O- 60Shifts the contents of register A right onebit. Ao the LSB is sh if ted to the carry flagand the carry flag is shifted to A7 the MSB.INCRrI;:;INC cgRr'g>a: * DEC Rr0 0 0 1 1 r2r,rO0 0 0 1 0 0 o ro1 1 0 0 1 r2r,rO18+10-+C8+(Rr)~(Rr)+lr=0-7(M(Rr»~(M(Rr» + 1r=O-1(Rr)~(Rr)-lr= 0- 71 ncrements the contents of register R, by1. The result is stored in register R, and thecarries are unchanged.Increments the contents of the memorylocation, of the current page, whose addressis in register R, by 1. Register R, uses bit0-5.Decrements the contents of register R, by1. The result is stored in register R, and thecarries are unchanged.• MITSUBISHI.... ELECTRIC4-15

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

Saved successfully!

Ooh no, something went wrong!