mirror of
https://github.com/irmen/prog8.git
synced 2026-04-19 20:16:51 +00:00
incbin in IR
This commit is contained in:
@@ -136,4 +136,9 @@ internal class VmCodeInlineAsm(asm: String): VmCodeLine() {
|
||||
val assembly: String = asm.trimIndent()
|
||||
}
|
||||
|
||||
internal class VmCodeInlineBinary(val file: Path, val offset: UInt?, val length: UInt?): VmCodeLine()
|
||||
internal class VmCodeInlineBinary(val file: Path, val offset: UInt?, val length: UInt?): VmCodeLine() {
|
||||
init {
|
||||
require(file.isAbsolute)
|
||||
require(file.toFile().isFile)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user