minor errors

This commit is contained in:
Dmitry Vagner 2022-09-08 15:47:18 -07:00
parent e6e6099cec
commit 7ed78c22a3
2 changed files with 4 additions and 3 deletions

View File

@ -155,7 +155,7 @@ round:
box:
jumpdest
// stack: a, b, c, d, e, F, K, boxes, rounds, sides
push after_F dup5 dup5 dup5 dup10
push pre_rol dup5 dup5 dup5 dup10
// stack: F, b, c, d, pre_rol, a, b, c, d, e, F, K, boxes, rounds, sides
jump
pre_rol:
@ -204,7 +204,7 @@ post_rol:
// stack: sides, rounds
%mul_const(5) push 10 sub sub
// stack: 10 - 5*sides - rounds
%end_macro
%endmacro
%macro get_box_from_stack
@ -213,4 +213,4 @@ post_rol:
// stack: boxes , 16*rounds , 80*sides, *7_args, boxes, rounds, sides
push 160 sub sub sub
// stack: 160 - boxes - 16*rounds - 80*sides, *7_args, boxes, rounds, sides
%end_macro
%endmacro

View File

@ -222,6 +222,7 @@
// stack: 0xffffffff, x
and
// stack: 0xffffffff & x
%endmacro
%macro not_32
// stack: x