Add: Add index.html, emulator spec (MOV, NOP, HLT).

This commit is contained in:
0x221E
2026-02-01 13:46:03 +01:00
parent f6754be0c4
commit 701d52bcea
2 changed files with 66 additions and 0 deletions

23
specs/emulator/index.html Normal file
View File

@@ -0,0 +1,23 @@
<body>
<h1>Emulator Reference</h2>
<p>You can see the supported instructions below</p>
<table style="width:100%">
<tr>
<th>Instruction Type</th>
<th>Description</th>
</tr>
<tr>
<td><a href="/mov">MOV</a></td>
<td>"The MOV instruction performs basic load data and store data operations between memory and the processors
registers and data movement operations between registers." (Intel SDM, p. 185)</td>
</tr>
<tr>
<td>NOP</td>
<td>Does nothing. It is always exactly 1 byte and is represented as a zero-byte.</td>
</tr>
<tr>
<td>HLT</td>
<td>Halts the emulator, performs an exit(0).</td>
</tr>
</table>
</body>