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_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
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 ---
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_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
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 ---