Better Not operation
This commit is contained in:
@@ -81,7 +81,7 @@ func (state *State) handleDivideSigned(instr *Instruction) {
|
|||||||
|
|
||||||
func (state *State) handleNot(instr *Instruction) {
|
func (state *State) handleNot(instr *Instruction) {
|
||||||
in := state.readUnsigned(&instr.Operand1)
|
in := state.readUnsigned(&instr.Operand1)
|
||||||
state.writeUnsigned(&instr.Operand1, in^uint64(0xffffffffffffffff))
|
state.writeUnsigned(&instr.Operand1, ^in)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (state *State) handleAnd(instr *Instruction) {
|
func (state *State) handleAnd(instr *Instruction) {
|
||||||
|
|||||||
Reference in New Issue
Block a user