fix ULL suffix for 64bit int, use BX_CONST64 instead

This commit is contained in:
Stanislav Shwartsman 2011-11-26 19:01:53 +00:00
parent 06e88c4984
commit 100622e958
2 changed files with 1 additions and 7 deletions

View File

@ -1211,12 +1211,6 @@ public: // for now...
BX_CPU_THIS_PTR oszapc.result &= ~(0xFF);
}
BX_SMF void set_PF_base(Bit8u val) {
set_ZF(getB_ZF());
BX_CPU_THIS_PTR oszapc.result &= ~(0xFF);
BX_CPU_THIS_PTR oszapc.result |= val;
}
// AF - bit 4 in EFLAGS, represented by bit LF_BIT_AF of oszapc.auxbits
BX_SMF bx_bool getB_AF(void) {
return ((BX_CPU_THIS_PTR oszapc.auxbits >> LF_BIT_AF) & 1);

View File

@ -90,7 +90,7 @@ typedef struct {
SET_FLAGS_OSZAPC_32(0, (result_32))
#if BX_SUPPORT_X86_64
#define SET_FLAGS_OSZAPC_LOGIC_64(result_64) \
SET_FLAGS_OSZAPC_64(0ULL, (result_64))
SET_FLAGS_OSZAPC_64(BX_CONST64(0), (result_64))
#endif
/* op1, op2, result */