Compile Common commands

Source: Internet
Author: User


--------------------------------------------------------------------------------

MoV (MOVE) transfer command p28
Push into Stack command p32
Pop output stack command p33
Xchg (exchang) Switch command p34
Xlat (translate) code change command p34
Lea (Load Balancing tive address) valid address sends register instruction p35
LDS (load ds with pointer) pointer send register and DS command p35
Les (load es with pointer) pointer send register and ES command p35
Lahf (load ah with flags) Flag sends Ah command p36
Sahf (store Ah into flgs) Ah sends sign register instruction p36
Pushf (push the flags) flag into the stack command p36
Popf (pop the flags) indicates the stack command p37
Add addition command
ADC incoming bit addition command p39
INC plus 1 command p39
Sub (subtract) without the subtraction command P40
SBB (suvtrach with borrow) subtraction command P40
Dec (decrement) minus 1 refers to the collar p41
Neg (negate) command p41
CMP (compare) Comparison command p42
Mul (unsinged multiple) unsigned number multiplication command p46
Imul (signed mul tiple) signed number multiplication command p46
Div (unsigned divide) unsigned number division command p48
Idiv (signed divide) signed number division command p48
CBW (count byte to word) byte conversion to word command P50
CWD (count word to doble word) Word conversion to dual-word command P50
DAA compressed BCD code addition decimal Adjustment Command P53
DAS-compressed BCD code subtraction decimal Adjustment Command P53
AAA non-compressed BCD code addition decimal Adjustment Command p54
AAS non-compressed BCD code addition decimal Adjustment Command p54
And logic and command p54
Or logic or command p55
XOR logic XOR command P56
Not logical non-directive P56
Test test command p57
SHL (shift logical letf) logic left shift command p57
SHR (shift logical right) logic right shift command p57
Rol (rotate left) loop left shift command P58
Ror (rotate right) loop right shift command P58
RCL (rotate left through carry) Bring-in loop shifts left P58
RCR (rotate right through carry) Bring-in loop shifts left P58
Movs (move string) Serial Transmission command P58
STOs (store into string) Saving string command P60
Lods (load from string) command P60
Rep (Repeat) repeat operation prefix p61
CLD (clear direction flag) Clear direction flag command p61
STD (set Direction Flag) sets the direction flag directive p61
CMPS (compare string) string comparison command p62
SCAs (SCAN string) Serial scan command P63
Repe/repz (repeat while equal/zero) equal/Zero repeated operation prefix P63
Repne/repnz (repeat while not equal/zero) not equal/Not a zero-entry repetition prefix
In (input) input command p65.
Output command
JMP (jump) unconditional transfer command P66
JZ, jnz, JS, JNS, Jo, jno, JP, jnp, JB, JNB, jbe, jnbe, JL, JNL, jle, jnle, jcxz conditional transfer instruction p67
Loop command p70
Loopz/loope 0/equal loop command p70
Loopnz/loopne is not zero/when they are not equal loop command p70
Call subroutine call command p71
RET (retun) subroutine return instruction p72
CLC (clear carry) carry position 0 command p77
CMC (complement carry) carries counter command p77
SRC (set carry) carry position 1 command p77
Nop (no operetion) No Operation Command p77
Hlt (halt) Stop command p77
Offset return offset address p85
SEG return segment address p85
Equ (=) equivalent statement P90
Purge release statement P91
DUP operand field using the copy operator p93
Segment, ends segment definition command P95
Assume segment Address Allocation command P95
Org start offset Address Setting command p96
$ Current address counter value P97
Proc, endp Process Definition Statement P97
Name, title, end start and end p98
Macro, endm macro definition command P99

CIDR Block for short jump to JMP short OPR
Direct near-transfer of JMP near ptr opr within a segment
Inter-segment indirect transfer of JMP word PTR OPR
Inter-segment direct transfer of JMP far PTR OPR
Inter-segment indirect transfer of JMP DWORD PTR OPR

Jz opr // The result is zero transfer
Jnz OPR // The result is not zero transfer
Js opr // The result is Negative Transfer
Jns opr // The result is positive.
Jo OPR // overflow Transfer
Jno OPR // No overflow Transfer
Jp opr // The result is an even transfer.
Jnp OPR // The result is odd Transfer
Jc opr // bitwise Transfer
Jnc opr // carry-free transfer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.