、内部RAM的数据传送指令 2、立即数传送指令 o MOV Rn, #data: Rnt- data 例: O MOV A,#data;A←data MOV RI, #40H o MOV direct, #data: direct+ data MOV ORI, #30H o MOV aRi, #data;(Ri)+data o MOV DPTR, #data16: DPTRe data16 (DPH←data158,DPL←data7~0) 3、内部RAM单元之间的数据传送指令 o MOV direct1, direct2; directl←( direct)例: o MOV direct, @Ri; directe((Ri)) MOV RO, #30H o MOV @Ri, direct; (Ri)+( direct) MOV RI, #31H o MOV Rn, direct: Rnt( direct) MOV A, aRO o Mov direct, Rn: directe( Rn) MOV aRI, A 例3-10、例3-11一、内部RAM的数据传送指令 2、立即数传送指令 MOV Rn,#data;Rn← data 例: MOV A, #data;A← data MOV R1,#40H MOV direct, #data; direct← data MOV @R1,#30H MOV @Ri, #data;(Ri)← data MOV DPTR, #data16;DPTR← data16 (DPH← data15~8,DPL← data7~0) 3、内部RAM单元之间的数据传送指令 MOV direct1, direct2; direct1←( direct2) 例: MOV direct, @Ri; direct← ((Ri)) MOV R0,#30H MOV @Ri, direct;( Ri)← ( direct) MOV R1,#31H MOV Rn, direct; Rn← ( direct) MOV A, @R0 MOV direct, Rn; direct←( Rn) MOV @R1,A 例3-10、例3-11