2020-02-07 02:21:34 +03:00
|
|
|
export declare enum OpcodeMemoryAccess {
|
|
|
|
write = "write",
|
|
|
|
read = "read",
|
|
|
|
full = "full"
|
|
|
|
}
|
2020-02-04 09:06:47 +03:00
|
|
|
export declare class Opcode {
|
|
|
|
readonly value: number;
|
|
|
|
readonly mnemonic: string;
|
|
|
|
readonly delta: number;
|
|
|
|
readonly alpha: number;
|
|
|
|
readonly doc: string;
|
|
|
|
constructor(mnemonic: string, value: number, delta: number, alpha: number, doc?: string);
|
|
|
|
isJump(): boolean;
|
|
|
|
isValidJumpDest(): boolean;
|
|
|
|
isPush(): number;
|
2020-02-07 02:21:34 +03:00
|
|
|
isMemoryAccess(readOrWrite?: boolean): OpcodeMemoryAccess;
|
2020-02-04 09:06:47 +03:00
|
|
|
isStatic(): boolean;
|
|
|
|
static from(valueOrMnemonic: number | string): Opcode;
|
|
|
|
}
|
2021-01-19 13:22:54 +03:00
|
|
|
//# sourceMappingURL=opcodes.d.ts.map
|