Skip to content

Commit 83b1c4e

Browse files
added XML Schema (XSD) 1.0; DTD considered obsolete now
1 parent 82767f0 commit 83b1c4e

File tree

3 files changed

+365
-68
lines changed

3 files changed

+365
-68
lines changed

x86reference.dtd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

3+
<!-- The reference uses XML Schema now, DTD is here only for backward compatibility -->
4+
35
<!-- Visit http://ref.x86asm.net -->
46

57
<!-- revision 1.11 -->

x86reference.xml

Lines changed: 23 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<!DOCTYPE x86reference SYSTEM "x86reference.dtd">
32

4-
<!-- Visit http://ref.x86asm.net/ -->
5-
6-
<!--
7-
8-
Author: Karel Lejska a.k.a. MazeGen (mazegen gmail com)
9-
10-
Short Description:
11-
12-
This reference is intended to be precise opcode and instruction
13-
set reference (including x86-64). Its principal aim is exact
14-
definition of instruction parameters and attributes.
15-
16-
- Minor Issues:
17-
18-
83/1, 83/4, 83/6:
19-
These short forms of OR, AND, and XOR instructions are documented
20-
since 80386. They were probably working since 8086, 80186
21-
or 80286, but I have no trustworthy information regarding this issue.
22-
23-
D9/3 mod=11, DF/2 mod=11, DF/3 mod=11:
24-
These encodings are documented in Intel 80287 manual at least. They
25-
were probably working since 8086, 80186 or 80286, but I have no
26-
trustworthy information regarding this issue.
27-
28-
0F0D:
29-
I am not sure since which Intel procesor was second multi-byte NOP (0F0D)
30-
released. The reference sets it since Pentium Pro.
31-
32-
0FAE /0 FXSAVE, 0FAE /1 FXRSTOR
33-
Current Intel manuals say that these were introduced with PIII
34-
processor. I can't find them documented in PIII manual though.
35-
Because of this problem, these instructions are marked as introduced
36-
with latter steppings of PIII processor.
37-
38-
- Discussion:
39-
40-
FF /3, FF /5:
41-
Should I add this comment?
42-
"The offset from the target operand is ignored when a call gate is used."
43-
44-
LAR, LSL:
45-
Should I add this comment?
46-
"For all loads (regardless of source or destination sizing) only bits 16-0 are used. Other bits are ignored."
47-
48-
-->
49-
50-
<x86reference version="1.12">
3+
<x86reference
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:noNamespaceSchemaLocation="x86reference.xsd">
516

527
<one-byte>
538

@@ -4011,8 +3966,8 @@ Should I add this comment?
40113966
<note><brief>Store x87 FPU Environment</brief></note>
40123967
</entry>
40133968
<entry>
4014-
<opcd_ext>6</opcd_ext>
40153969
<pref>9B</pref>
3970+
<opcd_ext>6</opcd_ext>
40163971
<!--<syntax mod="mem">-->
40173972
<syntax>
40183973
<mnem>FSTENV</mnem><dst depend="no"><a>M</a><t>e</t></dst>
@@ -4146,8 +4101,8 @@ Should I add this comment?
41464101
<note><brief>Store x87 FPU Control Word</brief></note>
41474102
</entry>
41484103
<entry>
4149-
<opcd_ext>7</opcd_ext>
41504104
<pref>9B</pref>
4105+
<opcd_ext>7</opcd_ext>
41514106
<!--<syntax mod="mem">-->
41524107
<syntax>
41534108
<mnem>FSTCW</mnem><dst depend="no"><a>M</a><t>w</t></dst>
@@ -4559,8 +4514,8 @@ Should I add this comment?
45594514
</entry>
45604515
<!--<entry mod="nomem">-->
45614516
<entry> <!-- @mod=nomem not needed, because sec_opcd must be matched -->
4562-
<opcd_ext>4</opcd_ext>
45634517
<pref>9B</pref>
4518+
<opcd_ext>4</opcd_ext>
45644519
<sec_opcd>E0</sec_opcd>
45654520
<proc_start post="no">00</proc_start>
45664521
<proc_end>00</proc_end>
@@ -4597,8 +4552,8 @@ Should I add this comment?
45974552
</entry>
45984553
<!--<entry mod="nomem">-->
45994554
<entry> <!-- @mod=nomem not needed, because sec_opcd must be matched -->
4600-
<opcd_ext>4</opcd_ext>
46014555
<pref>9B</pref>
4556+
<opcd_ext>4</opcd_ext>
46024557
<sec_opcd>E1</sec_opcd>
46034558
<proc_start post="no">00</proc_start>
46044559
<proc_end>00</proc_end>
@@ -4635,8 +4590,8 @@ Should I add this comment?
46354590
</entry>
46364591
<!--<entry mod="nomem">-->
46374592
<entry> <!-- @mod=nomem not needed, because sec_opcd must be matched -->
4638-
<opcd_ext>4</opcd_ext>
46394593
<pref>9B</pref>
4594+
<opcd_ext>4</opcd_ext>
46404595
<sec_opcd>E2</sec_opcd>
46414596
<syntax>
46424597
<mnem>FCLEX</mnem>
@@ -4660,8 +4615,8 @@ Should I add this comment?
46604615
</entry>
46614616
<!--<entry mod="nomem">-->
46624617
<entry> <!-- @mod=nomem not needed, because sec_opcd must be matched -->
4663-
<opcd_ext>4</opcd_ext>
46644618
<pref>9B</pref>
4619+
<opcd_ext>4</opcd_ext>
46654620
<sec_opcd>E3</sec_opcd>
46664621
<syntax>
46674622
<mnem>FINIT</mnem>
@@ -4685,8 +4640,8 @@ Should I add this comment?
46854640
</entry>
46864641
<!--<entry mod="nomem">-->
46874642
<entry> <!-- @mod=nomem not needed, because sec_opcd must be matched -->
4688-
<opcd_ext>4</opcd_ext>
46894643
<pref>9B</pref>
4644+
<opcd_ext>4</opcd_ext>
46904645
<sec_opcd>E4</sec_opcd>
46914646
<proc_start post="no">02</proc_start>
46924647
<proc_end>02</proc_end>
@@ -5190,8 +5145,8 @@ Should I add this comment?
51905145
</entry>
51915146
<!--<entry mod="mem">-->
51925147
<entry>
5193-
<opcd_ext>6</opcd_ext>
51945148
<pref>9B</pref>
5149+
<opcd_ext>6</opcd_ext>
51955150
<syntax>
51965151
<mnem>FSAVE</mnem>
51975152
<dst><a>M</a><t>st</t></dst>
@@ -5224,8 +5179,8 @@ Should I add this comment?
52245179
</entry>
52255180
<!--<entry mod="mem">-->
52265181
<entry>
5227-
<opcd_ext>7</opcd_ext>
52285182
<pref>9B</pref>
5183+
<opcd_ext>7</opcd_ext>
52295184
<syntax>
52305185
<mnem>FSTSW</mnem><dst><a>M</a><t>w</t></dst>
52315186
</syntax>
@@ -5711,8 +5666,8 @@ Should I add this comment?
57115666
</entry>
57125667
<!--<entry mod="nomem">-->
57135668
<entry> <!-- @mod=nomem not needed, because sec_opcd must be matched -->
5714-
<opcd_ext>4</opcd_ext>
57155669
<pref>9B</pref>
5670+
<opcd_ext>4</opcd_ext>
57165671
<sec_opcd>E0</sec_opcd>
57175672
<proc_start>02</proc_start>
57185673
<syntax>
@@ -11718,8 +11673,8 @@ Should I add this comment?
1171811673
<note><brief>Shift Packed Data Right Logical</brief></note>
1171911674
</entry>
1172011675
<entry>
11721-
<opcd_ext>2</opcd_ext>
1172211676
<pref>66</pref>
11677+
<opcd_ext>2</opcd_ext>
1172311678
<proc_start>10</proc_start>
1172411679
<syntax>
1172511680
<mnem>PSRLW</mnem>
@@ -11744,8 +11699,8 @@ Should I add this comment?
1174411699
<note><brief>Shift Packed Data Right Arithmetic</brief></note>
1174511700
</entry>
1174611701
<entry>
11747-
<opcd_ext>4</opcd_ext>
1174811702
<pref>66</pref>
11703+
<opcd_ext>4</opcd_ext>
1174911704
<proc_start>10</proc_start>
1175011705
<syntax>
1175111706
<mnem>PSRAW</mnem>
@@ -11770,8 +11725,8 @@ Should I add this comment?
1177011725
<note><brief>Shift Packed Data Left Logical</brief></note>
1177111726
</entry>
1177211727
<entry>
11773-
<opcd_ext>6</opcd_ext>
1177411728
<pref>66</pref>
11729+
<opcd_ext>6</opcd_ext>
1177511730
<proc_start>10</proc_start>
1177611731
<syntax>
1177711732
<mnem>PSLLW</mnem>
@@ -11798,8 +11753,8 @@ Should I add this comment?
1179811753
<note><brief>Shift Double Quadword Right Logical</brief></note>
1179911754
</entry>
1180011755
<entry>
11801-
<opcd_ext>2</opcd_ext>
1180211756
<pref>66</pref>
11757+
<opcd_ext>2</opcd_ext>
1180311758
<proc_start>10</proc_start>
1180411759
<syntax>
1180511760
<mnem>PSRLD</mnem>
@@ -11824,8 +11779,8 @@ Should I add this comment?
1182411779
<note><brief>Shift Packed Data Right Arithmetic</brief></note>
1182511780
</entry>
1182611781
<entry>
11827-
<opcd_ext>4</opcd_ext>
1182811782
<pref>66</pref>
11783+
<opcd_ext>4</opcd_ext>
1182911784
<proc_start>10</proc_start>
1183011785
<syntax>
1183111786
<mnem>PSRAD</mnem>
@@ -11850,8 +11805,8 @@ Should I add this comment?
1185011805
<note><brief>Shift Packed Data Left Logical</brief></note>
1185111806
</entry>
1185211807
<entry>
11853-
<opcd_ext>6</opcd_ext>
1185411808
<pref>66</pref>
11809+
<opcd_ext>6</opcd_ext>
1185511810
<proc_start>10</proc_start>
1185611811
<syntax>
1185711812
<mnem>PSLLD</mnem>
@@ -11878,8 +11833,8 @@ Should I add this comment?
1187811833
<note><brief>Shift Packed Data Right Logical</brief></note>
1187911834
</entry>
1188011835
<entry>
11881-
<opcd_ext>2</opcd_ext>
1188211836
<pref>66</pref>
11837+
<opcd_ext>2</opcd_ext>
1188311838
<proc_start>10</proc_start>
1188411839
<syntax>
1188511840
<mnem>PSRLQ</mnem>
@@ -11893,8 +11848,8 @@ Should I add this comment?
1189311848

1189411849
<!--<entry mod="nomem">-->
1189511850
<entry>
11896-
<opcd_ext>3</opcd_ext>
1189711851
<pref>66</pref>
11852+
<opcd_ext>3</opcd_ext>
1189811853
<proc_start>10</proc_start>
1189911854
<syntax>
1190011855
<mnem>PSRLDQ</mnem>
@@ -11920,8 +11875,8 @@ Should I add this comment?
1192011875
<note><brief>Shift Packed Data Left Logical</brief></note>
1192111876
</entry>
1192211877
<entry>
11923-
<opcd_ext>6</opcd_ext>
1192411878
<pref>66</pref>
11879+
<opcd_ext>6</opcd_ext>
1192511880
<proc_start>10</proc_start>
1192611881
<syntax>
1192711882
<mnem>PSLLQ</mnem>
@@ -11935,8 +11890,8 @@ Should I add this comment?
1193511890

1193611891
<!--<entry mod="nomem">-->
1193711892
<entry>
11938-
<opcd_ext>7</opcd_ext>
1193911893
<pref>66</pref>
11894+
<opcd_ext>7</opcd_ext>
1194011895
<proc_start>10</proc_start>
1194111896
<syntax>
1194211897
<mnem>PSLLDQ</mnem>

0 commit comments

Comments
 (0)