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
--- 156 unchanged lines hidden (view full) ---
165{
166 limm t2, imm
167 rdip t7
168 ldst t1, seg, riprel, disp
169 xor t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
170 st t1, seg, riprel, disp
171};
172
173def macroop XOR_M_R
174{
175 ldst t1, seg, sib, disp
176 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
177 st t1, seg, sib, disp
178};
179
180def macroop XOR_P_R
181{
182 rdip t7
183 ldst t1, seg, riprel, disp
184 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
185 st t1, seg, riprel, disp
186};
187
188def macroop XOR_R_M
189{
190 ld t1, seg, sib, disp
191 xor reg, reg, t1, flags=(OF,SF,ZF,PF,CF)
192};
193
194def macroop XOR_R_P
195{
--- 116 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
--- 156 unchanged lines hidden (view full) ---
165{
166 limm t2, imm
167 rdip t7
168 ldst t1, seg, riprel, disp
169 xor t1, t1, t2, flags=(OF,SF,ZF,PF,CF)
170 st t1, seg, riprel, disp
171};
172
173def macroop XOR_M_R
174{
175 ldst t1, seg, sib, disp
176 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
177 st t1, seg, sib, disp
178};
179
180def macroop XOR_P_R
181{
182 rdip t7
183 ldst t1, seg, riprel, disp
184 xor t1, t1, reg, flags=(OF,SF,ZF,PF,CF)
185 st t1, seg, riprel, disp
186};
187
188def macroop XOR_R_M
189{
190 ld t1, seg, sib, disp
191 xor reg, reg, t1, flags=(OF,SF,ZF,PF,CF)
192};
193
194def macroop XOR_R_P
195{
--- 116 unchanged lines hidden ---