Skip to content

Commit e0c53c3

Browse files
committed
feat: switch value to 0x100 vs 256
1 parent 7e1b3c2 commit e0c53c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testdata/asm/bench/trm.zkasm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn trm(RAW_ADDRESS u256) -> (ADDRESS_HI u32, IS_PRECOMPILE u1) {
3535
;; determine low <= MAX_PRC_CONTIGUOUS_ADDRESS
3636
;; or low is P256_VERIFY_ADDRESS
3737
b1,tmp = low - MAX_PRC_CONTIGUOUS_ADDRESS - 1
38-
b2 = low == 256 ? 1 : 0
38+
b2 = low == 0x100 ? 1 : 0
3939
;; done
4040
c0, c1, IS_PRECOMPILE= (b1 + b2) - (b1 * b2)
4141
return

0 commit comments

Comments
 (0)