| 47 |
|
|
| 48 |
// for computing V,C |
// for computing V,C |
| 49 |
arg2 = 0 - arg2 - psr.C; |
arg2 = 0 - arg2 - psr.C; |
| 50 |
} else if ( op.instr == instr_word::and |
} else if ( op.instr == instr_word::_and |
| 51 |
|| op.instr == instr_word::andcc ) |
|| op.instr == instr_word::andcc ) |
| 52 |
res = arg1 & arg2 ; |
res = arg1 & arg2 ; |
| 53 |
else if ( op.instr == instr_word::or || op.instr == instr_word::orcc ) |
else if ( op.instr == instr_word::_or || op.instr == instr_word::orcc ) |
| 54 |
res = arg1 | arg2 ; |
res = arg1 | arg2 ; |
| 55 |
else if ( op.instr == instr_word::andn |
else if ( op.instr == instr_word::andn |
| 56 |
|| op.instr == instr_word::andncc) |
|| op.instr == instr_word::andncc) |
| 57 |
res = arg1 & ~arg2 ; |
res = arg1 & ~arg2 ; |
| 58 |
else if ( op.instr == instr_word::orn || op.instr == instr_word::orncc ) |
else if ( op.instr == instr_word::orn || op.instr == instr_word::orncc ) |
| 59 |
res = arg1 | ~arg2 ; |
res = arg1 | ~arg2 ; |
| 60 |
else if ( op.instr == instr_word::xor || op.instr == instr_word::xorcc ) |
else if ( op.instr == instr_word::_xor || op.instr == instr_word::xorcc ) |
| 61 |
res = arg1 ^ arg2 ; |
res = arg1 ^ arg2 ; |
| 62 |
else if ( op.instr == instr_word::xnor |
else if ( op.instr == instr_word::xnor |
| 63 |
|| op.instr == instr_word::xnorcc ) |
|| op.instr == instr_word::xnorcc ) |