Skip to content

interface field #12

@EdwardZZZ

Description

@EdwardZZZ
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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions