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

Formatting: Indentation #6

Open
equadon opened this issue Apr 23, 2017 · 0 comments
Open

Formatting: Indentation #6

equadon opened this issue Apr 23, 2017 · 0 comments

Comments

@equadon
Copy link
Owner

equadon commented Apr 23, 2017

Implement indentation. Maybe something like:

str_len:
  ...
str_len_loop:
  ...
  beq $t0, $zero, str_len_done
  j str_len_loop
str_len_done:
  ...

main:
  j test

or nested based on label prefix:

str_len:
  ...
  str_len_loop:
    ...
    beq $t0, $zero, str_len_done
    j str_len_loop
  str_len_done:
    ...

main:
  j test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant