mirror of
https://github.com/irmen/prog8.git
synced 2026-04-24 05:25:49 +00:00
fix long 0 argument to asmsub with 32-bits combined virtual register to pass it in
This commit is contained in:
@@ -415,6 +415,10 @@ enum class RegisterOrPair {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the starting virtual register name for the current 32-bit combined virtual register
|
||||
* @return The starting register name as a string, WITHOUT THE cx16 block scope prefix!
|
||||
*/
|
||||
fun startregname() = when(this) {
|
||||
R0R1_32 -> "r0"
|
||||
R2R3_32 -> "r2"
|
||||
|
||||
Reference in New Issue
Block a user