aboutsummaryrefslogtreecommitdiffgithub
path: root/novice/assembler/assembler.ts
diff options
context:
space:
mode:
authorAustin Adams <git@austinjadams.com>2019-02-04 15:31:54 -0500
committerAustin Adams <git@austinjadams.com>2019-02-04 15:31:54 -0500
commit66b7b8fac57f61ecb0d259f0b25830bffdb5f6d5 (patch)
tree568844f0bc57d4ffc57405de6343221132290557 /novice/assembler/assembler.ts
parent9958e4e7edc63e12bfa93349338347f8de9a977b (diff)
downloadnovice-66b7b8fac57f61ecb0d259f0b25830bffdb5f6d5.tar.gz
novice-66b7b8fac57f61ecb0d259f0b25830bffdb5f6d5.tar.xz
Make opspec, isa properties of a machine code generator
Diffstat (limited to 'novice/assembler/assembler.ts')
-rw-r--r--novice/assembler/assembler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/novice/assembler/assembler.ts b/novice/assembler/assembler.ts
index ed1803e..7b58d45 100644
--- a/novice/assembler/assembler.ts
+++ b/novice/assembler/assembler.ts
@@ -25,7 +25,7 @@ class Assembler {
}
public codegen(asm: Assembly): [SymbTable, MachineCodeSection[]] {
- return this.cfg.generator.gen(this.cfg.isa, this.cfg.opSpec, asm);
+ return this.cfg.generator.gen(asm);
}
public async assemble(fp: Readable):