Appendix C
Commonly Used Opcodes in Assembly
TRANSFER Opcodes (Continued) |
||
Name |
Description |
Syntax |
TRANSFER Opcodes |
||
Name |
Description |
Syntax |
MOV |
Move (copy) |
MOV Dest,Source |
XCHG |
Exchange |
XCHG Op1,Op2 |
STC |
Set Carry |
STC |
CLC |
Clear Carry |
CLC |
CMC |
Complement Carry |
CMC |
STD |
Set Direction |
STD |
CLD |
Clear Direction |
CLD |
STI |
Set Interrupt |
STI |
CLI |
Clear Interrupt |
CLI |
PUSH |
Push onto stack |
PUSH Source |
PUSHF |
Push flags |
PUSHF |
PUSHA |
Push all general registers |
PUSHA |
POP |
Pop from stack |
POP Dest |
POPF |
Pop flags |
POPF |
POPA |
Pop all general registers |
POPA |
CBW |
Convert byte to word |
CBW |
CWD |
Convert word to double ... |
Get Official (ISC)2 Guide to the CSSLP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.