MCPcopy Create free account
hub / github.com/Jesserc/gevm / xor

Function xor

gevm/instructions.go:188–193  ·  view source on GitHub ↗
(evm *EVM)

Source from the content-addressed store, hash-verified

186}
187
188func xor(evm *EVM) {
189 a, b := evm.Stack.Pop(), evm.Stack.Pop()
190 evm.Stack.Push(new(uint256.Int).Xor(&a, &b))
191 evm.PC++
192 evm.deductGas(3)
193}
194
195func not(evm *EVM) {
196 a := evm.Stack.Pop()

Callers

nothing calls this directly

Calls 3

PopMethod · 0.80
PushMethod · 0.80
deductGasMethod · 0.80

Tested by

no test coverage detected