add_and_subtract.py (5119:a4469f2919f3) | add_and_subtract.py (6081:e5da3985fa99) |
---|---|
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 --- 68 unchanged lines hidden (view full) --- 77{ 78 rdip t7 79 limm t2, imm 80 ldst t1, seg, riprel, disp 81 add t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF) 82 st t1, seg, riprel, disp 83}; 84 | 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 --- 68 unchanged lines hidden (view full) --- 77{ 78 rdip t7 79 limm t2, imm 80 ldst t1, seg, riprel, disp 81 add t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF) 82 st t1, seg, riprel, disp 83}; 84 |
85def macroop ADD_LOCKED_M_I 86{ 87 limm t2, imm 88 ldstl t1, seg, sib, disp 89 add t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF) 90 stul t1, seg, sib, disp 91}; 92 93def macroop ADD_LOCKED_P_I 94{ 95 rdip t7 96 limm t2, imm 97 ldstl t1, seg, riprel, disp 98 add t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF) 99 stul t1, seg, riprel, disp 100}; 101 |
|
85def macroop ADD_M_R 86{ 87 ldst t1, seg, sib, disp 88 add t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 89 st t1, seg, sib, disp 90}; 91 92def macroop ADD_P_R 93{ 94 rdip t7 95 ldst t1, seg, riprel, disp 96 add t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 97 st t1, seg, riprel, disp 98}; 99 | 102def macroop ADD_M_R 103{ 104 ldst t1, seg, sib, disp 105 add t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 106 st t1, seg, sib, disp 107}; 108 109def macroop ADD_P_R 110{ 111 rdip t7 112 ldst t1, seg, riprel, disp 113 add t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 114 st t1, seg, riprel, disp 115}; 116 |
117def macroop ADD_LOCKED_M_R 118{ 119 ldstl t1, seg, sib, disp 120 add t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 121 stul t1, seg, sib, disp 122}; 123 124def macroop ADD_LOCKED_P_R 125{ 126 rdip t7 127 ldstl t1, seg, riprel, disp 128 add t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 129 stul t1, seg, riprel, disp 130}; 131 |
|
100def macroop ADD_R_M 101{ 102 ld t1, seg, sib, disp 103 add reg, reg, t1, flags=(OF,SF,ZF,AF,PF,CF) 104}; 105 106def macroop ADD_R_P 107{ --- 193 unchanged lines hidden --- | 132def macroop ADD_R_M 133{ 134 ld t1, seg, sib, disp 135 add reg, reg, t1, flags=(OF,SF,ZF,AF,PF,CF) 136}; 137 138def macroop ADD_R_P 139{ --- 193 unchanged lines hidden --- |