added '%ir' to write inline IR code, '%asm' is now only for real 6502 assembly.

(%ir is probably only used in the library modules for the virtual machine target)
This commit is contained in:
Irmen de Jong
2022-09-30 14:05:11 +02:00
parent 94f0f3e966
commit 0d4dd385b8
23 changed files with 137 additions and 80 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ class PtBlock(name: String,
}
class PtInlineAssembly(val assembly: String, position: Position) : PtNode(position) {
class PtInlineAssembly(val assembly: String, val isIR: Boolean, position: Position) : PtNode(position) {
override fun printProperties() {}
}