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

Getting the current assembly pass #114

Closed
Liniya opened this issue Jul 6, 2020 · 1 comment · Fixed by #115
Closed

Getting the current assembly pass #114

Liniya opened this issue Jul 6, 2020 · 1 comment · Fixed by #115
Assignees
Milestone

Comments

@Liniya
Copy link
Contributor

Liniya commented Jul 6, 2020

It would be nice if there was a built in variable to indicate the current assembly pass. Perhaps as a define (_PASS?), and/or a LUA variable/function (sj.pass?).

I know you can do it with LUA ALLPASS and "var = var + 1", but this isn't always convenient, and I just think it's one of these things that are better standardized.

ped7g added a commit that referenced this issue Jul 9, 2020
In this commit:
__DATE__, __TIME__, __PASS__, __SJASMPLUS__, __VERSION__, __ERRORS__,
__WARNINGS__
@ped7g ped7g self-assigned this Jul 9, 2020
@ped7g ped7g added this to the v1.15.2 milestone Jul 9, 2020
@ped7g ped7g linked a pull request Jul 10, 2020 that will close this issue
@ped7g ped7g closed this as completed in 0efee27 Jul 10, 2020
@ped7g
Copy link
Collaborator

ped7g commented Jul 10, 2020

Added as __PASS__, along some other changes in the predefined defines:
http://z00m128.github.io/sjasmplus/documentation.html#s_predefined

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

Successfully merging a pull request may close this issue.

2 participants