mirror of
https://github.com/irmen/prog8.git
synced 2026-04-21 02:16:41 +00:00
added -esa option to override the evalstack location, and shift cx16.r0-r15 accordingly
This commit is contained in:
@@ -60,6 +60,8 @@ class CodeGen(internal val program: PtProgram,
|
||||
|
||||
if(options.symbolDefs.isNotEmpty())
|
||||
throw AssemblyError("virtual target doesn't support symbols defined on the commandline")
|
||||
if(options.evalStackBaseAddress!=null)
|
||||
throw AssemblyError("virtual target doesn't use eval-stack")
|
||||
|
||||
for (block in program.allBlocks()) {
|
||||
vmprog.addBlock(translate(block))
|
||||
|
||||
Reference in New Issue
Block a user