increment_and_decrement.py (6091:d430acd6d5ce) increment_and_decrement.py (6092:e4ffbb3546fa)
1# Copyright (c) 2007 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

--- 94 unchanged lines hidden (view full) ---

103
104def macroop DEC_P
105{
106 rdip t7
107 ldst t1, seg, riprel, disp
108 subi t1, t1, 1, flags=(OF, SF, ZF, AF, PF)
109 st t1, seg, riprel, disp
110};
1# Copyright (c) 2007 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

--- 94 unchanged lines hidden (view full) ---

103
104def macroop DEC_P
105{
106 rdip t7
107 ldst t1, seg, riprel, disp
108 subi t1, t1, 1, flags=(OF, SF, ZF, AF, PF)
109 st t1, seg, riprel, disp
110};
111
112def macroop DEC_LOCKED_M
113{
114 ldstl t1, seg, sib, disp
115 subi t1, t1, 1, flags=(OF, SF, ZF, AF, PF)
116 stul t1, seg, sib, disp
117};
118
119def macroop DEC_LOCKED_P
120{
121 rdip t7
122 ldstl t1, seg, riprel, disp
123 subi t1, t1, 1, flags=(OF, SF, ZF, AF, PF)
124 stul t1, seg, riprel, disp
125};
111'''
126'''