X86: Implement a locking version of DEC.
This commit is contained in:
parent
4f2d4f466a
commit
985d959ea6
1 changed files with 15 additions and 0 deletions
|
@ -108,4 +108,19 @@ def macroop DEC_P
|
||||||
subi t1, t1, 1, flags=(OF, SF, ZF, AF, PF)
|
subi t1, t1, 1, flags=(OF, SF, ZF, AF, PF)
|
||||||
st t1, seg, riprel, disp
|
st t1, seg, riprel, disp
|
||||||
};
|
};
|
||||||
|
|
||||||
|
def macroop DEC_LOCKED_M
|
||||||
|
{
|
||||||
|
ldstl t1, seg, sib, disp
|
||||||
|
subi t1, t1, 1, flags=(OF, SF, ZF, AF, PF)
|
||||||
|
stul t1, seg, sib, disp
|
||||||
|
};
|
||||||
|
|
||||||
|
def macroop DEC_LOCKED_P
|
||||||
|
{
|
||||||
|
rdip t7
|
||||||
|
ldstl t1, seg, riprel, disp
|
||||||
|
subi t1, t1, 1, flags=(OF, SF, ZF, AF, PF)
|
||||||
|
stul t1, seg, riprel, disp
|
||||||
|
};
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue