Added mnemonic and instruction count to the isa page
This commit is contained in:
parent
e9a253a4d1
commit
af38b37429
@ -20,7 +20,12 @@ for (let a = 0; a < Instructions.length; a++) {
|
||||
}
|
||||
}
|
||||
|
||||
let outHTML = "";
|
||||
let totalVarients = 0;
|
||||
for (let a = 0; a < ISAPrepList.length; a++) {
|
||||
totalVarients += ISAPrepList[a].Varients.length;
|
||||
}
|
||||
|
||||
let outHTML = `<div>Total Mnemonics : ${ISAPrepList.length}<br />Total Instructions: ${totalVarients}</div>`;
|
||||
ISAPrepList.sort((a, b) => (a.Bytecode > b.Bytecode) ? -1 : 1);
|
||||
for (let a = 0; a < ISAPrepList.length; a++) {
|
||||
outHTML += `<div style="width: 60%; background-color: #eee;">`;
|
||||
|
Loading…
Reference in New Issue
Block a user