mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-21 09:29:36 +00:00
add "memory" and "cc" clobbers to asm statements
This commit is contained in:
parent
012f491d4e
commit
de0aa6610b
@ -104,7 +104,7 @@ outputItem typeMap (FunctionItem rettype name arguments words mbParamRegs) =
|
|||||||
PP.nest 4 (PP.vcat asmStatements) $+$
|
PP.nest 4 (PP.vcat asmStatements) $+$
|
||||||
showConstraints outs $+$
|
showConstraints outs $+$
|
||||||
showConstraints ins $+$
|
showConstraints ins $+$
|
||||||
PP.text ": \"%a0\", \"%a1\", \"%d0\", \"%d1\", \"%d2\""
|
PP.text ": \"%a0\", \"%a1\", \"%d0\", \"%d1\", \"%d2\", \"memory\", \"cc\""
|
||||||
<> (if tooltrap then PP.text ", \"%a5\"" else PP.empty)
|
<> (if tooltrap then PP.text ", \"%a5\"" else PP.empty)
|
||||||
)
|
)
|
||||||
$+$ PP.text ");"
|
$+$ PP.text ");"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user