第一章 预定义的符号 1
$ 1
@code 1
@CodeSize 1
@curseg 1
@data 1
@DataSize 1
@??date 1
@fardata 1
@FileName 1
??filename 1
@Model 2
@Startup 2
??time 2
??version 2
@WordSize 2
第二章 操作符 3
ideal模式操作符优先级 3
MASM模式下的操作符的优先级 3
操作符 3
() 4
※ 4
+(双目) 4
+(单目) 4
-(双目) 4
-(单目) 4
. 4
/ 4
: 4
? 4
[] 5
AND 5
BYTE 5
BYTE PTR 5
CODEPTR 5
DATAPTR 5
DUP 5
DWORD 5
DWORD PTR 5
EQ 5
FAR 6
FAR PTR 6
FWORD 6
FWORD PTR 6
GE 6
GT 6
HIGH 6
HIGH 6
LARGE 6
LE 6
LENGTH 7
LOW 7
LOW 7
LT 7
MASK 7
MOD 7
NE NEAR 7
NEAR PTR 7
NOT 7
OFFSET 8
OR 8
PROC 8
PROC PTR 8
PTR 8
PWORD 8
PWORD PTR 8
QWORD 8
QWORD PTR 8
SEG 9
SHL 9
SHORT 9
SHR 9
SIZE 9
SMALL 9
SYMTYPE 9
TBYTE 9
TBYTE PTR 9
THIS 9
.TYPE 10
TYPE 10
UNKNOWN 10
WIDTH 10
WORD 10
WORD PTR 10
XOR 10
特殊的宏操作符 10
& 10
<> 10
! 11
% 11
;; 11
第三章 伪指令 12
.186 12
.286 12
.286C 12
.286P 12
.286 12
.386 12
.386C 12
.386P 12
.387 12
.8086 12
.8087 12
: 12
= 13
ALIGN 13
.ALPHA 13
ARG 13
ASSUME 13
%BIN 13
CATSTR 13
.CODE 13
CODESEG 14
COMM 14
COMMENT 14
ONDS 14
.CONST 14
CONST 14
.CREF 14
REF 14
REFALL 14
REFREF 15
REFUREF 15
TLS 15
.DATA 15
DATASEG 15
.DATA 15
DB 15
DD 15
%DEPTH 15
DF 16
DISPLAY 16
DOSSEG 16
DP 16
DQ 16
DT 16
DW 16
ELSE 16
ELSEIF 17
EMUL 17
END 17
ENDIF 17
ENDM 17
ENDP 18
ENDS 18
EQU 18
.ERR 18
ERR 18
.ERR1 18
.ERR2 18
.ERRB 18
.ERRDEF 18
.ERRDIF 18
.ERRDIFI 18
.ERRE 19
.ERRIDN 19
.ERRIDNI 19
ERRIF 19
ERRIF1 19
ERRIF2 19
ERRIFB 19
ERRIFDEF 19
ERRIFDIF 19
ERRIFDIFI 19
ERRIFE 20
ERRIFIDN 20
ERRIFIDNI 20
ERRIFNB 20
ERRIFNDEF 20
.ERRNB 20
.ERRNDEF 20
.ERRNZ 20
EVEN 20
EVENDATA 20
EXITM 20
EXTRN 21
.FARDATA 21
FARDATA 21
GLOBAL 21
GROUP 21
IDEAL 21
IF 22
IF1 22
IFB 22
IFDEF 23
IFDIFI 23
IFE 23
IFIDN 24
IFIDNI 24
IFNB 24
IFNDEF 24
L 25
INCLUDE 25
INCLUDELIB 25
INSTR 25
IRP 25
IRPC 25
JUMPS 25
LABEL 26
.LALL 26
.LFCOND 26
%LINUM 26
T 26
.LIST 26
LOCAL 26
LOCALS 27
MACRO 27
%MACS 27
MASM 27
MASM51 27
.MODEL 27
MODEL 27
MULTERRS 28
NAME 28
7.500549E-318WPAGE 28
%NOCONDS 28
%NOCREF 28
%NOCTLS 28
NOEMUL 28
%NOINCL 28
NOJUMPS 28
%NOLIST 28
NOLOCALS 29
%NOMACS 29
NOMASM51 29
NOMULTERRS 29
NOSMART 29
%NOSYMS 29
%NOTRUNC 29
NOWARN 29
ORG 29
%OUT 29
P186 29
P286 29
P286N 30
P186P 30
P287 30
P386 30
P386N 30
P386P 30
P387 30
P8086 30
P8087 30
PAGE 30
%PAGESIZE 30
%PCNT 30
PNO87 31
%POPLCTL 31
PROC 31
PUBLIC 31
PUBLICDLL 31
PURGE 32
%PUSHLCTL 32
QUIRKS 32
.RADIX 32
RADIX 32
RECORD 32
REPT 32
.SALL 32
SEGMENT 32
.SEQ 33
.SFCOND 33
SIZESTR 33
SMART 33
.STACK 33
STACK 33
STRUC 33
SUBSTR 34
SUBTTL 34
UBTTL 34
YMS 34
%TABSIZE 34
%TEXT 34
.TFCOND 34
TITLE 34
%TITLE 34
%TRUNC 34
UDATASEG 35
UFARDATA 35
UNION 35
USES 35
WARN 35
.XALL 35
.XCREF 35
XLIST 35
第四章 处理器指令 36
操作数长度和地址属性 36
缺省段属性 36
操作数长度和地址长度指令前缀 36
堆栈的地址长度属性 37
指令格式 37
ModeR/M和SIB字节 38
如何阅读指令 41
指令名 41
标志位 41
操作码 41
/digit 42
/r 42
cb,cw,cd,cp 42
ib,iw,id 42
+rb,+rw,+rd 42
指令 42
rel8 42
rel16,rel32 42
ptr16:16,ptr16:32 42
r8 42
r16 43
r32(80386) 43
imm8 43
imm16 43
immm32(80386) 43
r/m8 43
r/m16 43
r/m32 43
m8 43
m16 43
m32 43
m16:16,m16:32(80386) 43
m16&32,m16&16(186/286/386),m32&32(80386) 43
moffs8,moffs16,moffs32(内存偏移量,仅用于386) 44
Sreg 44
时钟 44
AAA 44
AAD 45
AAM 45
AAS 46
ADC 46
ADD 47
AND 47
ARPL 48
BOUND 49
BSF 49
BSR 49
BT 50
BTC 50
BTR 51
BTS 51
CALL 51
CBW 53
CDQ 54
CLC 54
CLD 54
CLI 55
CLTS 55
CMC 55
CMP 56
CMPS,CMPSB,CMPSW,CMPSD 56
CWD 57
CWDE 58
DAA 58
DAS 58
DEC 59
DIV 59
ENTER 60
HLT 60
IDIV 61
IMUL 61
IN 62
INC 63
INS,INSB,INSW,INSD 63
INT,INTO 64
IRET,IRETD 65
Jcc 66
JMP 68
LAHF 70
LAR 70
LEA 71
LEAVE 71
LGDT/LIDT 72
LGS,LSS,LFS,LDS,LES 72
LLDT 73
LMSW 73
LOCK 74
LOADS,LODSB,LODSW,LODSD 74
LOOP,LOOPcond 75
LSL 76
LTR 76
MOV 77
MOV 78
MOVS,MOVSB,MOVSW,MOVSD 78
MOVSX 79
MOVZX 79
MUL 80
NEG 80
NOP 81
NOT 81
OR 81
OUT 82
OUTS,OUTSB,OUTSW,OUTSD 82
POP 83
POPA,POPAD 84
POPF,POPFD 84
PUSH 85
PUSHA,PUSHAD 86
PUSHF,PUSHFD 86
RCL,RCR,ROL,ROR 86
REP,PRPE,REPZ,REPNE,REPNZ 88
RET 90
SAHF 91
SAL,SAR,SHL,SHR 91
SBB 93
SCAS,SCASB,SCASW,SCASD 94
SETcc 95
SGDT,SIDT 96
SHLD 96
SHRD 97
SLDT 98
SMSW 98
STC 98
STD 98
STI 99
STOS,STOSB,STXW,STOSD 99
STR 100
SUB 100
TEST 101
VERR,VERW 101
WAIT 102
XCHG 102
XLAT,XLATB 103
XOR 103
第五章 协处理器指令 105
FABS 105
FADD 106
FADDP 106
FBLD 106
FBSTP 106
FCHS 107
FCLEX,FNCLEX 107
FCOM 107
FCOMP 108
FCOMPP 108
FCOS 108
FDECSTP 108
FDISI,FNDISI 109
FDIV 109
FDIVP 109
FDIVR 110
FDIVRP 110
FENI,FNENI 110
FFREE 110
FIADD 111
FICOM 111
FICOMP 111
FIDIV 112
FIDIVR 112
FILD 112
FIMUL 112
FINCSTP 113
FINIT,FNINIT 113
FIST 113
FISTP 114
FISUB 114
FISUBR 114
FLD 114
FLDCW 115
FLDENV 115
FLDLG2 115
FLDLN2 116
FLDL2E 116
FLDL2T 116
FLDPI 116
FLDZ 117
FLD1 117
FMUL 117
FMULP 118
FNOP 118
FPATAN 118
FPREM 118
FPTAN 119
FRNDINT 119
FRSTOR 119
FSAVE,FNSAVE 120
FSCALE 120
FSETPM 120
FSIN 121
FSINCOS 121
FSORT 121
FST 121
FSTCW,FNSTCW 122
FSTENV,FNSTENV 122
FSTP 122
FSTSW,FNSTSW 123
FSTSW AX,FNSTSW AX 123
FSUB 123
FSUBP 124
FSUBR 124
FSUBRP 124
FTST 124
FUCOM 125
FUXOMP 125
FUXOMPP 125
FWOIT 125
FXAM 126
FXCH 126
FXTRACT 126
FYL2X 127
FYL2XP1 127
F2XM1 127