--- np2/i386c/ia32/instructions/bit_byte.c 2004/03/23 15:29:34 1.9 +++ np2/i386c/ia32/instructions/bit_byte.c 2011/01/15 17:17:23 1.12 @@ -1,5 +1,3 @@ -/* $Id: bit_byte.c,v 1.9 2004/03/23 15:29:34 monaka Exp $ */ - /* * Copyright (c) 2002-2003 NONAKA Kimihiro * All rights reserved. @@ -12,8 +10,6 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES @@ -938,7 +934,7 @@ TEST_EbGb(void) madr = calc_ea_dst(op); tmp = cpu_vmemoryread(CPU_INST_SEGREG_INDEX, madr); } - AND_BYTE(tmp, src); + BYTE_AND(tmp, src); } void @@ -955,7 +951,7 @@ TEST_EwGw(void) madr = calc_ea_dst(op); tmp = cpu_vmemoryread_w(CPU_INST_SEGREG_INDEX, madr); } - AND_WORD(tmp, src); + WORD_AND(tmp, src); } void @@ -972,7 +968,7 @@ TEST_EdGd(void) madr = calc_ea_dst(op); tmp = cpu_vmemoryread_d(CPU_INST_SEGREG_INDEX, madr); } - AND_DWORD(tmp, src); + DWORD_AND(tmp, src); } void @@ -983,7 +979,7 @@ TEST_ALIb(void) CPU_WORKCLOCK(3); tmp = CPU_AL; GET_PCBYTE(src); - AND_BYTE(tmp, src); + BYTE_AND(tmp, src); } void @@ -994,7 +990,7 @@ TEST_AXIw(void) CPU_WORKCLOCK(3); tmp = CPU_AX; GET_PCWORD(src); - AND_WORD(tmp, src); + WORD_AND(tmp, src); } void @@ -1005,7 +1001,7 @@ TEST_EAXId(void) CPU_WORKCLOCK(3); tmp = CPU_EAX; GET_PCDWORD(src); - AND_DWORD(tmp, src); + DWORD_AND(tmp, src); } void @@ -1022,7 +1018,7 @@ TEST_EbIb(UINT32 op) tmp = cpu_vmemoryread(CPU_INST_SEGREG_INDEX, madr); } GET_PCBYTE(src); - AND_BYTE(tmp, src); + BYTE_AND(tmp, src); } void @@ -1039,7 +1035,7 @@ TEST_EwIw(UINT32 op) tmp = cpu_vmemoryread_w(CPU_INST_SEGREG_INDEX, madr); } GET_PCWORD(src); - AND_WORD(tmp, src); + WORD_AND(tmp, src); } void @@ -1056,5 +1052,5 @@ TEST_EdId(UINT32 op) tmp = cpu_vmemoryread_d(CPU_INST_SEGREG_INDEX, madr); } GET_PCDWORD(src); - AND_DWORD(tmp, src); + DWORD_AND(tmp, src); }