Update evm/src/cpu/kernel/asm/curve/bn254/curve_arithmetic/curve_add.asm

Co-authored-by: Jacqueline Nabaglo <jakub@mirprotocol.org>
This commit is contained in:
Dima V 2023-01-12 20:36:47 -08:00 committed by GitHub
parent 49db35d35e
commit 32f24819dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,7 @@ global ec_double:
// stack: retdest
PUSH 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
// stack: u256::MAX, retdest
PUSH 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
DUP1
// stack: u256::MAX, u256::MAX, retdest
SWAP2
// stack: retdest, u256::MAX, u256::MAX