add_and_subtract.py (6084:cb751de62299) | add_and_subtract.py (6086:2ac9ab003d54) |
---|---|
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 --- 169 unchanged lines hidden (view full) --- 178{ 179 rdip t7 180 limm t2, imm 181 ldst t1, seg, riprel, disp 182 sub t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF) 183 st t1, seg, riprel, disp 184}; 185 | 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 --- 169 unchanged lines hidden (view full) --- 178{ 179 rdip t7 180 limm t2, imm 181 ldst t1, seg, riprel, disp 182 sub t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF) 183 st t1, seg, riprel, disp 184}; 185 |
186def macroop SUB_LOCKED_M_I 187{ 188 limm t2, imm 189 ldstl t1, seg, sib, disp 190 sub t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF) 191 stul t1, seg, sib, disp 192}; 193 194def macroop SUB_LOCKED_P_I 195{ 196 rdip t7 197 limm t2, imm 198 ldstl t1, seg, riprel, disp 199 sub t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF) 200 stul t1, seg, riprel, disp 201}; 202 |
|
186def macroop SUB_M_R 187{ 188 ldst t1, seg, sib, disp 189 sub t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 190 st t1, seg, sib, disp 191}; 192 193def macroop SUB_P_R 194{ 195 rdip t7 196 ldst t1, seg, riprel, disp 197 sub t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 198 st t1, seg, riprel, disp 199}; 200 | 203def macroop SUB_M_R 204{ 205 ldst t1, seg, sib, disp 206 sub t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 207 st t1, seg, sib, disp 208}; 209 210def macroop SUB_P_R 211{ 212 rdip t7 213 ldst t1, seg, riprel, disp 214 sub t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 215 st t1, seg, riprel, disp 216}; 217 |
218def macroop SUB_LOCKED_M_R 219{ 220 ldstl t1, seg, sib, disp 221 sub t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 222 stul t1, seg, sib, disp 223}; 224 225def macroop SUB_LOCKED_P_R 226{ 227 rdip t7 228 ldstl t1, seg, riprel, disp 229 sub t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF) 230 stul t1, seg, riprel, disp 231}; 232 |
|
201def macroop ADC_R_R 202{ 203 adc reg, reg, regm, flags=(OF,SF,ZF,AF,PF,CF) 204}; 205 206def macroop ADC_R_I 207{ 208 limm t1, imm --- 188 unchanged lines hidden --- | 233def macroop ADC_R_R 234{ 235 adc reg, reg, regm, flags=(OF,SF,ZF,AF,PF,CF) 236}; 237 238def macroop ADC_R_I 239{ 240 limm t1, imm --- 188 unchanged lines hidden --- |