add_and_subtract.py (6081:e5da3985fa99) add_and_subtract.py (6083:c669a6f8fa9e)
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

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

221{
222 rdip t7
223 limm t2, imm
224 ldst t1, seg, riprel, disp
225 adc t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF)
226 st t1, seg, riprel, disp
227};
228
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

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

221{
222 rdip t7
223 limm t2, imm
224 ldst t1, seg, riprel, disp
225 adc t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF)
226 st t1, seg, riprel, disp
227};
228
229def macroop ADC_LOCKED_M_I
230{
231 limm t2, imm
232 ldstl t1, seg, sib, disp
233 adc t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF)
234 stul t1, seg, sib, disp
235};
236
237def macroop ADC_LOCKED_P_I
238{
239 rdip t7
240 limm t2, imm
241 ldstl t1, seg, riprel, disp
242 adc t1, t1, t2, flags=(OF,SF,ZF,AF,PF,CF)
243 stul t1, seg, riprel, disp
244};
245
229def macroop ADC_M_R
230{
231 ldst t1, seg, sib, disp
232 adc t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF)
233 st t1, seg, sib, disp
234};
235
236def macroop ADC_P_R
237{
238 rdip t7
239 ldst t1, seg, riprel, disp
240 adc t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF)
241 st t1, seg, riprel, disp
242};
243
246def macroop ADC_M_R
247{
248 ldst t1, seg, sib, disp
249 adc t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF)
250 st t1, seg, sib, disp
251};
252
253def macroop ADC_P_R
254{
255 rdip t7
256 ldst t1, seg, riprel, disp
257 adc t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF)
258 st t1, seg, riprel, disp
259};
260
261def macroop ADC_LOCKED_M_R
262{
263 ldstl t1, seg, sib, disp
264 adc t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF)
265 stul t1, seg, sib, disp
266};
267
268def macroop ADC_LOCKED_P_R
269{
270 rdip t7
271 ldstl t1, seg, riprel, disp
272 adc t1, t1, reg, flags=(OF,SF,ZF,AF,PF,CF)
273 stul t1, seg, riprel, disp
274};
275
244def macroop ADC_R_M
245{
246 ld t1, seg, sib, disp
247 adc reg, reg, t1, flags=(OF,SF,ZF,AF,PF,CF)
248};
249
250def macroop ADC_R_P
251{

--- 81 unchanged lines hidden ---
276def macroop ADC_R_M
277{
278 ld t1, seg, sib, disp
279 adc reg, reg, t1, flags=(OF,SF,ZF,AF,PF,CF)
280};
281
282def macroop ADC_R_P
283{

--- 81 unchanged lines hidden ---