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 MICROCOMPUTERSMELPs ·8-41 SLAVE MICROCOMPUTERS[TypeFUNCTIONS OF MELPS 8·41 SLAVE MICROCOMPUTERSInstruction codeMnemonic >. g, FunctionIII0 7 0 6 0 5 0 4 0 30 2 0,0U0 HexadecimalMOVO A, Pp 0 0 0 0, , P, Po 0 C (A o-A3) +- (PpO-Pp3)+ 1 2 (A 4 -A 7 ) +- 0 p = 4-7P,PoEu"8MOVO Pp , A + , 2 P=4-7~"0as0 0, , , , P, Po 3 C (PpO -P p3 ) +- (Ao-A3)c: , 0 0 , , , P, Po 9 C (PpO -P p3 ) +- (P pO -p p3 ) 1\ (A o -A3)c.)(ANLO Pp, A + ,wP,Po 2 p=4-7~, 0 0 0, 1 P, Po 8 C . (P pO-Pp3) +- (Ppo-Pp3)V(Ao-A 3 )P,PoORLD Pp, A + , 2p,poQ)'"'"Q)p=4-70 , 0 0 0 0, 0 4 2 (A) +- (T)MOV A, T 1 1MOV T, A0 1 1 0 0 0 1 0 6 21 1(T) +- (A)E§uSTRT T~ STRT CNT::J0U';:::Q)Ei= STOP TCNTEN TCNTIDIS TCNTI0 1 0 1 0 1 0 1 5 51 10 1 0 0 0 1 0 1 4 51 10, , 0 0 1 0 , 6 51 10 0 , 0 0, 0 '.2 5 , ,0 0, , 0, 0 , 3 5 , ,(TCNTF) +- 1(TCNTF) +- 00 0 0 0 0, 0 , 0 5 (INTF) +- 1EN I 1 10 0 0 1 0 1 0 1 1 5 (INTF) +- 0DIS I1 1, , o , 0 0 1 0 1 C 5 (BS) +- 0SEL RBo 1 1, 1 0 1 0 1 0 ,0 5 (BS) +- 1SEL RB, 1 1, 1 1 0 0 1 0 1 E 5EN DMA 1 11 1 1 1 0 1 0 ,F 5 (P2 4 ) +- (OBF)EN FLAGS 1 1 (P2 5 ) +- (IBF)g 0 0 0 0 0 0 0 0 0 0NOP 1 1~Note 1 Executing an instruction may produce a carry (overflow or underflow). The carry may be lost or it may be transferred to C or AC, The (0)mark indicates a carry which affects C or AC. The detail affection of carries for instructions ADD, AD DC and DA is as follows:( C ) ...... 1 At overflow of accumulator( C ) ...... 0 At no overflow of accumulator( A C ) ...... 1 At overflow of bit 3 of accumulator(A C) ...... 0 At .no overflow2 : The contents of .ST 4 -ST 7 are read when host computer reads status of MELPS8-41.5-22• MITSUBISHI."ELECTRIC

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

Saved successfully!

Ooh no, something went wrong!