Sie sind auf Seite 1von 26

Classification of Instructions

INSTRUCTIONS

DATA TRANSFER

ARITHMETIC

BRANCH

BOOLEAN

LOGICAL

M. Krishna Kumar

MAM/M6/LU14,15/2004

Data transfer Instructions


Mov A, Mov A, Mov A, Mov A, Mov Dptr, Rn Direct @Ri #Data8 #Data16

M. Krishna Kumar

MAM/M6/LU14,15/2004

Data transfer Instructions contd.


Mov Rn, A Mov Rn, Direct Mov Rn, #Data8 Mov Direct, A Mov Direct, Rn Mov Direct, #Data8 Mov Direct, Direct

M. Krishna Kumar

MAM/M6/LU14,15/2004

Data Transfer Instructions contd.


Mov Direct, @Ri Mov Direct, # Data8 Mov @Ri, A Mov @Ri, Direct Mov @Ri, #Data8

M. Krishna Kumar

MAM/M6/LU14,15/2004

Data transfer Instructions contd.


Movx A, @Ri Movx A, @Dptr Movx @Ri, A Movx @dptr, A Movc A, @A+Dptr Movc A, @A+Pc

M. Krishna Kumar

MAM/M6/LU14,15/2004

Data transfer Instructions contd.


Push Pop Xch A, Xch A, Xch A, Xchd A, Direct Direct Rn Direct @Ri @Ri

M. Krishna Kumar

MAM/M6/LU14,15/2004

Boolean Instructions
Clr Clr Setb Setb Cpl Cpl C Bit C Bit C Bit

M. Krishna Kumar

MAM/M6/LU14,15/2004

Boolean Instructions contd.


Anl C, Bit Anl C, /Bit Orl C, Bit Orl C, /Bit Mov C, Bit Mov Bit, C

M. Krishna Kumar

MAM/M6/LU14,15/2004

Branch Instructions contd.


Jc Reladdr Jnc Reladdr Jb Bit, Reladdr Jnb Bit, Reladdr Jbc Bit, Reladdr

M. Krishna Kumar

MAM/M6/LU14,15/2004

Arithmetic Instructions
Add Add Add Add A, A, A, A, Rn Direct @Ri #Data8

M. Krishna Kumar

MAM/M6/LU14,15/2004

10

Arithmetic Instructions contd.


Addc Addc Addc Addc A, A, A, A, Rn Direct @Ri #Data8

M. Krishna Kumar

MAM/M6/LU14,15/2004

11

Arithmetic Instructions contd.


Subb Subb Subb Subb A, A, A, A, Rn Direct @Ri #Data8

M. Krishna Kumar

MAM/M6/LU14,15/2004

12

Arithmetic Instructions contd.


Inc Inc Inc Inc Inc A Rn Direct @Ri Dptr

M. Krishna Kumar

MAM/M6/LU14,15/2004

13

Arithmetic Instructions contd.


Dec Dec Dec Dec A Rn Direct @Ri

M. Krishna Kumar

MAM/M6/LU14,15/2004

14

Arithmetic Instructions contd.


Mul AB Div AB DA A

M. Krishna Kumar

MAM/M6/LU14,15/2004

15

Logical Instructions
Anl Anl Anl Anl Anl Anl A, Rn A, Direct A, @Ri A, #Data8 Direct, A Direct, #Data8

M. Krishna Kumar

MAM/M6/LU14,15/2004

16

Logical Instructions contd.


Orl Orl Orl Orl Orl Orl A, Rn A, Direct A, @Ri A, #Data8 Direct, A Direct, #Data8

M. Krishna Kumar

MAM/M6/LU14,15/2004

17

Logical Instructions contd.


Xrl Xrl Xrl Xrl Xrl Xrl A, Rn A, Direct A, @Ri A, #Data8 Direct, A Direct, #Data8

M. Krishna Kumar

MAM/M6/LU14,15/2004

18

Logical Instructions contd.


Clr A Cpl A Rl A Rlc A Rr A Rrc A Swap A

M. Krishna Kumar

MAM/M6/LU14,15/2004

19

Branch Instructions
Acall Lcall Ret Reti Ajmp Ljmp Sjmp Addr11 Addr16

Addr11 Addr16 Reladdr

M. Krishna Kumar

MAM/M6/LU14,15/2004

20

Branch Instructions
Jmp @A+Dptr Jz Reladdr Jnz Reladdr

M. Krishna Kumar

MAM/M6/LU14,15/2004

21

Branch Instructions contd


Cjne Cjne Cjne Cjne Rn, #Data, Reladdr @Ri, #Data, Reladdr A, #Data, Reladdr A, Direct, Reladdr

M. Krishna Kumar

MAM/M6/LU14,15/2004

22

Branch Instructions contd


Djnz Rn, Reladdr Djnz Direct, Reladdr Nop

M. Krishna Kumar

MAM/M6/LU14,15/2004

23

Assembly directives
Directives: ?FILE Directive ?LINE Directive ?SYMB Directive BSEG Directive CODE Directive CSEG Directive DATA Directive DB Directive DBIT Directive

M. Krishna Kumar

MAM/M6/LU14,15/2004

24

Assembly directives
DS Directive DSEG Directive DW Directive END Directive EQU Directive EXTRN Directive IDATA Directive ISEG Directive

M. Krishna Kumar

MAM/M6/LU14,15/2004

25

Assembly directives
NAME Directive ORG Directive PUBLIC Directive RSEG Directive SEGMENT Directive SET Directive USING Directive XDATA Directive XSEG Directive

M. Krishna Kumar

MAM/M6/LU14,15/2004

26

Das könnte Ihnen auch gefallen