aboutsummaryrefslogtreecommitdiffgithub
path: root/novice/simulator/symbols.ts
blob: 997f374dbd97d8a2fa8c62f035ef541ede82f82a (plain)
1
2
3
4
5
6
7
8
9
10
11
import { SymbTable } from '../isa';

interface Symbols {
    hasSymbol(symb: string): boolean;
    setSymbol(symb: string, addr: number): void;
    setSymbols(symbtable: SymbTable): void;
    getSymbolAddr(symb: string): number;
    getAddrSymbols(addr: number): string[];
}

export { Symbols };