Skip to content

Commit 048ae58

Browse files
committed
Regenerated manpages
1 parent 0213d6a commit 048ae58

File tree

1,031 files changed

+173305
-495
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,031 files changed

+173305
-495
lines changed

manpages/x86-aaa.7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,4 +114,4 @@ Architectures Software Developer’s Manual for anything serious.
114114
This page is generated by scripts; therefore may contain visual or semantical bugs. Please report them (or better, fix them) on https://github.com/ttmo-O/x86-manpages.
115115

116116
.br
117-
Copyleft TTMO 2020 (Turkish Unofficial Chamber of Reverse Engineers - https://ttmo.re).
117+
MIT licensed by TTMO 2020 (Turkish Unofficial Chamber of Reverse Engineers - https://ttmo.re).

manpages/x86-aad.7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ Architectures Software Developer’s Manual for anything serious.
116116
This page is generated by scripts; therefore may contain visual or semantical bugs. Please report them (or better, fix them) on https://github.com/ttmo-O/x86-manpages.
117117

118118
.br
119-
Copyleft TTMO 2020 (Turkish Unofficial Chamber of Reverse Engineers - https://ttmo.re).
119+
MIT licensed by TTMO 2020 (Turkish Unofficial Chamber of Reverse Engineers - https://ttmo.re).

manpages/x86-aam.7

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
.nh
2+
.TH "X86-AAM" "7" "May 2019" "TTMO" "Intel x86-64 ISA Manual"
3+
.SH NAME
4+
AAM - ASCII ADJUST AX AFTER MULTIPLY
5+
.TS
6+
allbox;
7+
l l l l l l
8+
l l l l l l .
9+
\fB\fCOpcode\fR \fB\fCInstruction\fR \fB\fCOp/En\fR \fB\fC64\-bit Mode\fR \fB\fCCompat/Leg Mode\fR \fB\fCDescription\fR
10+
D4 0A AAM ZO Invalid Valid T{
11+
ASCII adjust AX after multiply.
12+
T}
13+
D4 ib AAM imm8 ZO Invalid Valid T{
14+
Adjust AX after multiply to number base imm8.
15+
T}
16+
.TE
17+
18+
.SH INSTRUCTION OPERAND ENCODING
19+
.TS
20+
allbox;
21+
l l l l l
22+
l l l l l .
23+
Op/En Operand 1 Operand 2 Operand 3 Operand 4
24+
ZO NA NA NA NA
25+
.TE
26+
27+
.SH DESCRIPTION
28+
.PP
29+
Adjusts the result of the multiplication of two unpacked BCD values to
30+
create a pair of unpacked (base 10) BCD values. The AX register is the
31+
implied source and destination operand for this instruction. The AAM
32+
instruction is only useful when it follows an MUL instruction that
33+
multiplies (binary multiplication) two unpacked BCD values and stores a
34+
word result in the AX register. The AAM instruction then adjusts the
35+
contents of the AX register to contain the correct 2\-digit unpacked
36+
(base 10) BCD result.
37+
38+
.PP
39+
The generalized version of this instruction allows adjustment of the
40+
contents of the AX to create two unpacked digits of any number base (see
41+
the “Operation” section below). Here, the imm8).
42+
43+
.PP
44+
This instruction executes as described in compatibility mode and legacy
45+
mode. It is not valid in 64\-bit mode.
46+
47+
.SH OPERATION
48+
.PP
49+
.RS
50+
51+
.nf
52+
IF 64\-Bit Mode
53+
THEN
54+
#UD;
55+
ELSE
56+
tempAL ← AL;
57+
AH ← tempAL / imm8 is set to 0AH for the AAM mnemonic *)
58+
AL ← tempAL MOD imm8;
59+
FI;
60+
The immediate value (imm8) is taken from the second byte of the instruction.
61+
62+
.fi
63+
.RE
64+
65+
.SH FLAGS AFFECTED
66+
.PP
67+
The SF, ZF, and PF flags are set according to the resulting binary value
68+
in the AL register. The OF, AF, and CF flags are undefined.
69+
70+
.SH PROTECTED MODE EXCEPTIONS
71+
.TS
72+
allbox;
73+
l l
74+
l l .
75+
#DE T{
76+
If an immediate value of 0 is used.
77+
T}
78+
#UD If the LOCK prefix is used.
79+
.TE
80+
81+
.SH REAL\-ADDRESS MODE EXCEPTIONS
82+
.PP
83+
Same exceptions as protected mode.
84+
85+
.SH VIRTUAL\-8086 MODE EXCEPTIONS
86+
.PP
87+
Same exceptions as protected mode.
88+
89+
.SH COMPATIBILITY MODE EXCEPTIONS
90+
.PP
91+
Same exceptions as protected mode.
92+
93+
.SH 64\-BIT MODE EXCEPTIONS
94+
.TS
95+
allbox;
96+
l l
97+
l l .
98+
#UD If in 64\-bit mode.
99+
.TE
100+
101+
.SH SEE ALSO
102+
.PP
103+
x86\-manpages(7) for a list of other x86\-64 man pages.
104+
105+
.SH COLOPHON
106+
.PP
107+
This UNOFFICIAL, mechanically\-separated, non\-verified reference is
108+
provided for convenience, but it may be incomplete or broken in
109+
various obvious or non\-obvious ways. Refer to Intel® 64 and IA\-32
110+
Architectures Software Developer’s Manual for anything serious.
111+
112+
.br
113+
This page is generated by scripts; therefore may contain visual or semantical bugs. Please report them (or better, fix them) on https://github.com/ttmo-O/x86-manpages.
114+
115+
.br
116+
MIT licensed by TTMO 2020 (Turkish Unofficial Chamber of Reverse Engineers - https://ttmo.re).

manpages/x86-aas.7

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
.nh
2+
.TH "X86-AAS" "7" "May 2019" "TTMO" "Intel x86-64 ISA Manual"
3+
.SH NAME
4+
AAS - ASCII ADJUST AL AFTER SUBTRACTION
5+
.TS
6+
allbox;
7+
l l l l l l
8+
l l l l l l .
9+
\fB\fCOpcode\fR \fB\fCInstruction\fR \fB\fCOp/En\fR \fB\fC64\-bit Mode\fR \fB\fCCompat/Leg Mode\fR \fB\fCDescription\fR
10+
3F AAS ZO Invalid Valid T{
11+
ASCII adjust AL after subtraction.
12+
T}
13+
.TE
14+
15+
.SH INSTRUCTION OPERAND ENCODING
16+
.TS
17+
allbox;
18+
l l l l l
19+
l l l l l .
20+
Op/En Operand 1 Operand 2 Operand 3 Operand 4
21+
ZO NA NA NA NA
22+
.TE
23+
24+
.SH DESCRIPTION
25+
.PP
26+
Adjusts the result of the subtraction of two unpacked BCD values to
27+
create a unpacked BCD result. The AL register is the implied source and
28+
destination operand for this instruction. The AAS instruction is only
29+
useful when it follows a SUB instruction that subtracts (binary
30+
subtraction) one unpacked BCD value from another and stores a byte
31+
result in the AL register. The AAA instruction then adjusts the contents
32+
of the AL register to contain the correct 1\-digit unpacked BCD result.
33+
34+
.PP
35+
If the subtraction produced a decimal carry, the AH register decrements
36+
by 1, and the CF and AF flags are set. If no decimal carry occurred, the
37+
CF and AF flags are cleared, and the AH register is unchanged. In either
38+
case, the AL register is left with its top four bits set to 0.
39+
40+
.PP
41+
This instruction executes as described in compatibility mode and legacy
42+
mode. It is not valid in 64\-bit mode.
43+
44+
.SH OPERATION
45+
.PP
46+
.RS
47+
48+
.nf
49+
IF 64\-bit mode
50+
THEN
51+
#UD;
52+
ELSE
53+
IF ((AL AND 0FH) > 9) or (AF = 1)
54+
THEN
55+
AX ← AX – 6;
56+
AH ← AH – 1;
57+
AF ← 1;
58+
CF ← 1;
59+
AL ← AL AND 0FH;
60+
ELSE
61+
CF ← 0;
62+
AF ← 0;
63+
AL ← AL AND 0FH;
64+
FI;
65+
FI;
66+
67+
.fi
68+
.RE
69+
70+
.SH FLAGS AFFECTED
71+
.PP
72+
The AF and CF flags are set to 1 if there is a decimal borrow;
73+
otherwise, they are cleared to 0. The OF, SF, ZF, and PF flags are
74+
undefined.
75+
76+
.SH PROTECTED MODE EXCEPTIONS
77+
.TS
78+
allbox;
79+
l l
80+
l l .
81+
#UD If the LOCK prefix is used.
82+
.TE
83+
84+
.SH REAL\-ADDRESS MODE EXCEPTIONS
85+
.PP
86+
Same exceptions as protected mode.
87+
88+
.SH VIRTUAL\-8086 MODE EXCEPTIONS
89+
.PP
90+
Same exceptions as protected mode.
91+
92+
.SH COMPATIBILITY MODE EXCEPTIONS
93+
.PP
94+
Same exceptions as protected mode.
95+
96+
.SH 64\-BIT MODE EXCEPTIONS
97+
.TS
98+
allbox;
99+
l l
100+
l l .
101+
#UD If in 64\-bit mode.
102+
.TE
103+
104+
.SH SEE ALSO
105+
.PP
106+
x86\-manpages(7) for a list of other x86\-64 man pages.
107+
108+
.SH COLOPHON
109+
.PP
110+
This UNOFFICIAL, mechanically\-separated, non\-verified reference is
111+
provided for convenience, but it may be incomplete or broken in
112+
various obvious or non\-obvious ways. Refer to Intel® 64 and IA\-32
113+
Architectures Software Developer’s Manual for anything serious.
114+
115+
.br
116+
This page is generated by scripts; therefore may contain visual or semantical bugs. Please report them (or better, fix them) on https://github.com/ttmo-O/x86-manpages.
117+
118+
.br
119+
MIT licensed by TTMO 2020 (Turkish Unofficial Chamber of Reverse Engineers - https://ttmo.re).

0 commit comments

Comments
 (0)