Skip to content

feat(architecture): update pseudoinstruction definitions to new engine - #50

Open
ALVAROPING1 wants to merge 3 commits into
masterfrom
pseudoinstructions
Open

feat(architecture): update pseudoinstruction definitions to new engine#50
ALVAROPING1 wants to merge 3 commits into
masterfrom
pseudoinstructions

Conversation

@ALVAROPING1

Copy link
Copy Markdown
Member

Updates the definition of pseudoinstructions to the new engine in creator-assembler. The wiki has already been updated with the documentation of the new engine.

This new engine simplifies the definition of pseudoinstructions and avoids magic replacement patterns. Thanks to the features of the assembler (expression and modifier support), JS code is less often needed, which improves support of forward references. For example, the RISC-V la pseudoinstruction now allows them in all cases rather than just to .data segments, allowing code like:

      la t0, func
      ...
func: addi a0, a0, 1
      jr ra

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

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