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

Print strings in assembly #81

Merged
merged 2 commits into from
Oct 14, 2020
Merged

Print strings in assembly #81

merged 2 commits into from
Oct 14, 2020

Conversation

water111
Copy link
Collaborator

    lw t9, format(s7)                   ;; (set! t9 format)
    daddiu a0, s7, #t                   ;; (set! a0 '#t)
    daddiu a1, fp, L66                  ;; (set! a1 L66) "~Tprocess: ~A~%"
    lwu a2, 4(gp)                       ;; (set! a2 (l.wu (+.i gp 4)))
    jalr ra, t9                         ;; (call!)
    sll v0, ra, 0

If an instruction references a string, includes the contents of the string on the comment.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 307035950

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 81.536%

Totals Coverage Status
Change from base Build 307009270: 0.0%
Covered Lines: 14652
Relevant Lines: 17970

💛 - Coveralls

@water111 water111 merged commit 8d91b47 into master Oct 14, 2020
@water111 water111 deleted the w/print-strings-in-disasm branch October 14, 2020 18:21
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.

2 participants