Working on ISA documentation

This commit is contained in:
MatCat 2021-04-07 23:14:37 -07:00
parent d21c723894
commit a572229c87

View File

@ -22,11 +22,11 @@ for (let a = 0; a < Instructions.length; a++) {
let outHTML = "";
for (let a = 0; a < ISAPrepList.length; a++) {
outHTML += `<div style="width: 50%;">`;
outHTML += `<div style="width: 60%; background-color: #eee;">`;
outHTML += `<h4>${ISAPrepList[a].Mnemonic}&nbsp;&nbsp;&nbsp;&nbsp;${ISAPrepList[a].LongName} </h4>`;
outHTML += `<table style="width: 100%;">`;
outHTML += `<tr>`;
outHTML += `<td>Address Mode</td><td>Example</td><td>Bytecode</td><td>Words</td><td>Cycles</td>`;
outHTML += `<td style="border-bottom: 1px solid black;">Address Mode</td><td style="border-bottom: 1px solid black;">Example</td><td style="border-bottom: 1px solid black;">Bytecode</td><td style="border-bottom: 1px solid black;">Words</td><td style="border-bottom: 1px solid black;">Cycles</td>`;
outHTML += `</tr>`;
for (let b=0; b < ISAPrepList[a].Varients.length; b++) {
let operandtext = "";