diff --git a/js/instruction_doc.js b/js/instruction_doc.js index ce820f2..647bde8 100644 --- a/js/instruction_doc.js +++ b/js/instruction_doc.js @@ -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 = `
Total Mnemonics   : ${ISAPrepList.length}
Total Instructions: ${totalVarients}
`; ISAPrepList.sort((a, b) => (a.Bytecode > b.Bytecode) ? -1 : 1); for (let a = 0; a < ISAPrepList.length; a++) { outHTML += `
`;