more %stack sha2 cleanup

This commit is contained in:
Nicholas Ward 2022-09-09 13:47:37 -07:00
parent 140242c556
commit 5cf8bf2ba3

View File

@ -119,10 +119,7 @@
PUSH 8
SHL
// stack: 1 << 8, value, offset
SWAP1
// stack: value, 1 << 8, offset
DUP2
DUP2
%stack (shift, val, offset) -> (val, shift, val, shift, offset)
// stack: value, 1 << 8, value, 1 << 8, offset
MOD
// stack: c_0 = value % (1 << 8), value, 1 << 8, offset