-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
for (const instruction of instructions) {
const { opcode, operands } = instruction;
const opName: string = InstructionMap.get(opcode).toLowerCase();
if (opcode === Opcode.LDC) {
const result = readData(constant_pool, operands[0]).name;
console.log('>>', result);
} else if (opcode === Opcode.SIPUSH) {
} else if (opcode === Opcode.BIPUSH) {
} else if (opcode === Opcode.INVOKESTATIC) {
} else if (opcode === Opcode.CHECKCAST) {
} else if (opcode === Opcode.PUTSTATIC) {
} else if (opcode === Opcode.RETURN) {
}
}Metadata
Metadata
Assignees
Labels
No labels