Skip to content

Add support for label+integer#127

Open
ricferpas wants to merge 2 commits intorarsm:masterfrom
ricferpas:feat-label-plus-int
Open

Add support for label+integer#127
ricferpas wants to merge 2 commits intorarsm:masterfrom
ricferpas:feat-label-plus-int

Conversation

@ricferpas
Copy link

Improve the assembler to support operands of the form label+integer in instructions (like «la a0, table+30») and data segment directives.

This pattern is often emitted by GCC.

Tests included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant