Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
188
func
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
195
func
not(evm *EVM) {
196
a := evm.Stack.Pop()
Callers
nothing calls this directly
Calls
3
Pop
Method · 0.80
Push
Method · 0.80
deductGas
Method · 0.80
Tested by
no test coverage detected