0x10c-DevKit
0x10c-DevKit copied to clipboard
Conditional assembly
Implement
if
else
endif
To allow for conditional assembly such as
if DEBUG
jsr print_debug
endif
or
if (parameter == 0)
set pc, default
else
set pc, parameter
endif
inside Macros
Great idea. Should #define X in a file define it just in that file or the whole project? I would intend on having it as an option on project options too.
Sent from Samsung Galaxy Note
-------- Original message -------- Subject: [0x10c-DevKit] Conditional assembly (#190) From: RichardLH [email protected] To: Kieren Johnstone [email protected] CC:
Implement
#if #else #endif
To allow for conditional assembly such as
#if DEBUG set
Reply to this email directly or view it on GitHub: https://github.com/kierenj/0x10c-DevKit/issues/190
I suppose, Global, Project, File scopes would all be possible. I would settle for simple File scope to start with.
It would also aid debugging/testing if this could be represented in some way in the UI to see which values are being assembled.