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.

MITSUBIS,HI MICROCOMPUTERSMELPS 8-48 MICROCOMPUTERSFUNCTION OF MELPS 8-48 MICROCOMPUTERS~.TypeMnemon'icInstruction codeHexa-07060S 0 4 03 0 2 0 1 0 0 decimal1 2b 7 be b s 1 0 0 1 0JBb m + 2m7me mSm4 m3 m 2 ml m ObX2mJTF mJNI m0 0 0 1 0 1 1 0 16m7 me mSm4 m3 m 2 ml m O m1 0 0 0 0 1 1 0 8 6m7n1&m5m4 m3m2ml mO m04JMP m ml0m g ma O 0 1 0 0 .+(mB- ml0) 2m7me mSm4 m3 m2 m ,mOX2mJMPP @A 1 0 1 1 0 0 1 1 B3 1E81 1 1 0 1 r 2 r 1 roDJNZ Rr, m +rm7 me mS,m4 m3 m 2 ml m O mJC m1 1 1 1 0 1 1 0 F6m7me mSm4 m3 m2 m,mO m1 1 1 0 0 1 1 0 E6JNC ma.m7me mSm4 m3 m2 m,mO m~ 1 1 0 0 0 1 1 0 C6JZ mm7me mSm4 m3 m2 m,mO m~en222222~u0Function(Ab)=1 then (PCO-PC7)+-m2 (Ab) =0 then (PC) +- (PC) +2b7b6bs= 0 - 722(TF) = 1 then (PCO-PC7)+-m(TF) =0then (PC)+-(PC) + 2(PCa-PC?) - m when (INT) = 0(PC) +- (PC) + 2 when (INT) = 1(PCs-PC 10)+-ms-mlO2 ( PC O-PC7)+-mO-m7(PCll) +- (MBF)2 (PCo-PC7)+-(M (A»(Rr) +- (Rr)-1 r=0-72 (RrH'O then (PCO-PC7)+-m(Rr)=O then (PC)+-(PC)+ 2222(C)=1 then (PCO-PC7)+-m(C)=O then (PC) +- (PC) + 2(C)=O then (PCO-PC7)+-m(C)=1 then (PC) +- (PC) +2(A)=O then ( PC O- PC 7)+-m(A)*O then (PC)+-(PC)+2Effectedcarry'"zC AC 0DescriptionJumps to address m of the current page whenbit b of register A is 1. Executes the nextinstruction when bit b of register A is O.Jumps to address m of the current pagewhen the overflow flag of the timer is 1otherwise the next instruction is executed.F lag is cleared after executing.This instruction causes a jump to theaddress indicated by the second byte if theexternal interrupt pin INT is low.Jumps to address m on page ml0 mg ms inthe memory bank indicated by MBF.Jumps to the memory location, of the currentpage, whose address is in register A.'But when the instruction executed was inaddress 255, jumps to next p.age.Decrements the contents of register R, by 1.Jumps to address m of the current pagewhen the result is not 0, otherwise thenextinstruction is executed.Jumps to address m of the current page ifthe carry flag C is I, otherwise the nextinstruction is executed.Jumps to address m of the current page ifthe carry flag C is 0, otherwise the nextinstruction is executed.Jumps to address m of the current pagewhen the contents of register A are 0,otherwise the next instruction is executed.JNZ m1 0 0 1 0 1 1 0 96m7mBmS~ m3 m2 m,mO m22(A)*O then ( PC O- PC 7)+-m(A)=O then (PC) +- (PC) +2Jumps to address m of the current pagewhen the contents of register A are not 0,otherwise the next instruction is executed.JTO m0 0 1 1 0 1 1 0 36m7 me mSm4 m3 m2 m,mO m?2(To) =1 then ( PCO- PC 7)+-m(To) =0 then (PC)+-(PC)+2Jumps to address m of the current pagewhen 'flag To is 1 otherwise the next instruc·tion is executed.JNTO m0 0 1 0 0 1 1 0 26m7me mS m4 m3 rn2 m,mO m22(To) =0 then (PCO- PC 7)+-m(To) =1 then (PC) ~- (PC) + 2Jumps to address m of the current pagewhen flag To is 0, otherwise the next instructionis executedJT1 m0 1 0 1 0 1 1 0 56m7 me mSm4 m3 m2 m ,mO m22(Tl) =1 then ( PC O- PC 7)+-m(T 1 )=0 then (PC) +- (PC) +2Jumps to address m of the current pagewhen flag Tl is 1. otherwise the next instructionis executed,JNT1 m0 1 0 0 0 1 1 0 46m7me mS m4 m3 m2 m,mO m22(Tl)=O then ( PCO- PC 7)+-m(T 1 )=1 then (PC)+-(PC)+2Jumps to address m of the current pagewhen flag Tl is O. otherwise the next instructionis executed.1 0 1 1 0 1 1 0 B6JFO m 2m7 me mSm4 m3 m 2 ml m O m2(Fa) =1 then ( PC O- PC 7)+-m(Fo) =0 then (PC)+-(PC)+2Jumps to address m of the current pagewhen flag Fo is 1.JF1 m0 1 1 1 0 1 1 0 76m7me mSm4 m3 m 2 ml m O m22(Fl) =1 then (PCO- PC 7)+-m(F 1 ) =0 then (PC) +- (PC) + 2Jumps to address m of the current pagewhen flag F 1 is 1.CLR C1 0 0 1 0 1 1 19711 (C) +- 00Clear~ the carry flag C, resets it to O. AC isn9t affected,CPL C1 0 1 0 0 1 1 1A7 11 (C)+-(O)0Complements the carry flag C. AC is notaffected.g CLR Fo 1 0 0 0 0 1 0 1885 1C>coLi: CPL Fo1 0 0 1 0 1 0 195 11 (Fo) +-01 (Fa) +-

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

Saved successfully!

Ooh no, something went wrong!