Skip to content

Support for variable opcodes length #51

@dtrendafilov

Description

@dtrendafilov

Currently the VM handles only fixed sized arguments in the instructions.

  • change the assembler to check for argument sizes and emit opcodes based on that
    • to avoid second pass over the bytecode always use 8 bytes for jump and call locations
  • change the vm to handle arguments with different sizes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions