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

Compile labels to short literals where possible #44

Open
Twisol opened this issue Apr 12, 2012 · 2 comments
Open

Compile labels to short literals where possible #44

Twisol opened this issue Apr 12, 2012 · 2 comments

Comments

@Twisol
Copy link
Collaborator

Twisol commented Apr 12, 2012

This compiles to 7DC1 0002:

SET PC, loop
:loop

However, this compiles to 85C1:

SET PC, 1

They both do the same thing, but the latter uses one less word.

@mappum
Copy link
Owner

mappum commented Apr 12, 2012

I know. I implemented the labels to always use another word. I've planned on fixing that, but since it doesn't affect functionality, it hasn't been the highest priority.

@Twisol
Copy link
Collaborator Author

Twisol commented Apr 12, 2012

Okay. I'm just adding things to the issue tracker as they come up.

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

2 participants