-
Notifications
You must be signed in to change notification settings - Fork 11
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
Assembler error with sequence .if .db .endif #88
Comments
Fixed for all types of data/blk data statements. I'll need to revisit which additional directives may benefit from also respecting if/else/endif. |
Thank you, that was quick! Confirmed that the issue with the code I was compiling is resolved. |
Thanks for bringing this up; this reminds me to also add in per file stacked if/else/endif, so something like will become possible, while any if/else/endif statements within the included files will also still work and the caller source file will retain the if state upon returning from the include. |
Fixed in release v1.10 |
If there is a
.db
within an.if
to.endif
block then the byte data is placed in the executable code even when the.if
condition is false.Test Code
Listing File
This is the listing file that is created with the -l compile option. It can be seen byte data is added at address range
0x000004 to 0x00000B
.The text was updated successfully, but these errors were encountered: