aboutsummaryrefslogtreecommitdiffgithub
path: root/novice/assembler/codegen/codegen.ts
blob: 290a11fef1719b6611f2c30cbd1c0058d5ae7c21 (plain)
1
2
3
4
5
6
7
8
9
import { Assembly, Isa, MachineCodeSection, SymbTable } from '../../isa';
import { PseudoOpSpec } from '../opspec';

interface MachineCodeGenerator {
    gen(isa: Isa, opSpec: PseudoOpSpec, asm: Assembly):
        [SymbTable, MachineCodeSection[]];
}

export { MachineCodeGenerator };