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

Support hierarchical instruction format #4

Open
wildlarva opened this issue Dec 9, 2019 · 0 comments
Open

Support hierarchical instruction format #4

wildlarva opened this issue Dec 9, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@wildlarva
Copy link
Owner

Is your feature request related to a problem? Please describe.
ARM instruction set is defined hierarchically. It is more readable to have a hierarchical instruction format in MC description when you define an ARM instruction format.

Describe the solution you'd like
Add instruction hierarchies to MC description specification like below:

instructions:
  - name: load_store_format_1
    format: xxxx:cond|010:op1|xxxxxxxxxxxxxxxxxxxx|x:op|xxxx
    sub_instructions:
      - name: store_register_format_3
        format: xxxx:cond|01|0:A|0x010:op1|xxxx:Rn|xxxxxxxxxxx|x:B|xxxx
        sub_instructions:
          - name: strt_1
            format: xxxx:cond|01|0|0|x:U|0|1|0|xxxx:Rn|xxxx:Rt|xxxxxxxxxxxx:imm12

Describe alternatives you've considered
N/A

Additional context
N/A

@wildlarva wildlarva added the enhancement New feature or request label Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant