Open RichardLH opened 12 years ago
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 reply@reply.github.com To: Kieren Johnstone kierenj@gmail.com CC:
Implement
To allow for conditional assembly such as
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.
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