Add adjust_sp_imm instruction. Note: This enables using rsp and rbp as normal registers. Which is... wrong.
This commit is contained in:
committed by
Jakob Stoklund Olesen
parent
32509ebacd
commit
ffab87318e
@@ -544,6 +544,14 @@ copy_special = Instruction(
|
||||
ins=(src, dst),
|
||||
other_side_effects=True)
|
||||
|
||||
Offset = Operand('Offset', offset32, 'Offset from current stack pointer')
|
||||
adjust_sp_imm = Instruction(
|
||||
'adjust_sp_imm', r"""
|
||||
Adds an immediate offset value to the stack pointer register.
|
||||
""",
|
||||
ins=(Offset,),
|
||||
other_side_effects=True)
|
||||
|
||||
regspill = Instruction(
|
||||
'regspill', r"""
|
||||
Temporarily divert ``x`` from ``src`` to ``SS``.
|
||||
|
||||
Reference in New Issue
Block a user