Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Typo in readme #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ isa.instructions.forEach(function(inst) {
// a single instruction each time it provides an array of instructions sharing the
// same name.
isa.forEachGroup(function(name, insts) {
console.log(`Instruction ${name}`:);
console.log(`Instruction ${name}:`);
for (var i = 0; i < insts.length; i++) {
const inst = insts[i];
console.log(` [${inst.encoding}] ${inst.opcodeString}`);
Expand All @@ -133,7 +133,7 @@ for (var i = 0; i < insts.length; i++) {
const names = isa.instructionNames;
for (var i = 0; i < names.length; i++) {
const name = names[i];
const insts = x86.query(name);
const insts = isa.query(name);
// ...
}
```
Expand Down