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

Make sure I don't overflow the constants #21

Open
mjgpy3 opened this issue May 4, 2019 · 1 comment
Open

Make sure I don't overflow the constants #21

mjgpy3 opened this issue May 4, 2019 · 1 comment

Comments

@mjgpy3
Copy link
Collaborator

mjgpy3 commented May 4, 2019

I'd like to assert that bytes/shorts/longs don't overflow their space. I'm not handling that right now.

@mjgpy3
Copy link
Collaborator Author

mjgpy3 commented Jun 2, 2019

For example

foo: .byte 0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x41

overflows its space as the following lines

:0414141414141414141414141414141414141414141414141414141414141414141414141414145414141414141414E
:00000001FF

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

No branches or pull requests

1 participant