Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE][EraVM] Split assembler syntax for direct/indirect code references. #668

Closed
wants to merge 2 commits into from

Commits on Aug 8, 2024

  1. [EraVM] Split assembler syntax for direct/indirect code references.

    1. code[@symbol + reg + imm]
       Denotes indirect code reference. Loads a word from the code page
       at the offset (measured in words): "@symbol + reg + imm".
    
    2. @symbol + imm
       Just denotes the expression value itself. @symbol is resolved
       as an offset to the label measured in instructions.
    PavelKopyl committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    91f2760 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ad14bf9 View commit details
    Browse the repository at this point in the history