Implement near returns.
--HG-- extra : convert_revision : 3d6e8a976d31cb016a4b78200716b0ece155137a
This commit is contained in:
parent
99310a1d93
commit
dbf361128a
|
@ -53,8 +53,14 @@
|
||||||
#
|
#
|
||||||
# Authors: Gabe Black
|
# Authors: Gabe Black
|
||||||
|
|
||||||
microcode = ""
|
microcode = '''
|
||||||
#let {{
|
def macroop RET
|
||||||
# class RET(Inst):
|
{
|
||||||
# "GenFault ${new UnimpInstFault}"
|
# Make the default data size of rets 64 bits in 64 bit mode
|
||||||
#}};
|
.adjust_env oszIn64Override
|
||||||
|
|
||||||
|
ld t1, ss, [0, t0, rsp]
|
||||||
|
addi rsp, rsp, dsz
|
||||||
|
wripi t1, 0
|
||||||
|
};
|
||||||
|
'''
|
||||||
|
|
Loading…
Reference in a new issue