]>
Commit | Line | Data |
---|---|---|
bbe45369 | 1 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" > |
2 | <xsl:template match="x86optable"> | |
3 | <html> | |
4 | <head> | |
5 | <title>x86 opcode table</title> | |
6 | <style> | |
7 | .mnm { | |
8 | border-bottom: 1px dotted #cdcdcd; | |
9 | font-family: "lucida sans", georgia, helvetica, arial, verdana, georgia; | |
10 | border-right: 1px solid #cdcdcd; | |
11 | font-size: 1em; | |
12 | } | |
13 | ||
14 | .opc { | |
15 | border-bottom: 1px dotted #cdcdcd; | |
16 | border-right: 1px solid #cdcdcd; | |
17 | font-family: monospace; | |
18 | font-size: 1.1em; | |
19 | } | |
20 | ||
21 | .vdr { | |
22 | border-bottom: 1px dotted #cdcdcd; | |
23 | border-right: 1px solid #cdcdcd; | |
24 | font-size: .9em; | |
25 | } | |
26 | </style> | |
27 | </head> | |
28 | <body> | |
29 | <h1 style="text-align:left; padding-left:8px;">x86optable.xml</h1> | |
30 | <p style="text-align:left; padding-left:8px"> | |
31 | <a style="text-decoration:none" href="http://udis86.sourceforge.net/">udis86.sourceforge.net</a></p> | |
32 | <table cellpadding="4" cellspacing="6" width="800px"> | |
33 | <tr bgcolor='lightblue'> | |
34 | <td align="center">Mnemonic</td> | |
35 | <td align="center">Opcodes</td> | |
36 | <td align="center">Vendor</td> | |
37 | </tr> | |
38 | <xsl:for-each select="instruction"> | |
39 | <tr> | |
40 | <td class="mnm" align="center" valign="middle"><xsl:value-of select="@mnemonic"/></td> | |
41 | <td class="opc"> | |
42 | <xsl:for-each select="opcode"> | |
43 | <xsl:apply-templates/> | |
44 | <br/> | |
45 | </xsl:for-each> | |
46 | </td> | |
47 | <td class="vdr" align="center" valign="top"> | |
48 | <xsl:for-each select="vendor"> | |
49 | <xsl:apply-templates/> | |
50 | <br/> | |
51 | </xsl:for-each> | |
52 | </td> | |
53 | </tr> | |
54 | </xsl:for-each> | |
55 | </table> | |
56 | <p style="text-align:left; padding-left:8px"> | |
57 | <small>Copyright (c) 2008, Vivek Thampi</small> | |
58 | </p> | |
59 | ||
60 | </body> | |
61 | </html> | |
62 | </xsl:template> | |
63 | </xsl:stylesheet> |