Skip to content

Commit

Permalink
fix typo labels
Browse files Browse the repository at this point in the history
  • Loading branch information
zkronos73 committed Mar 12, 2024
1 parent 599ae1a commit e65af31
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions main/utils.zkasm
Original file line number Diff line number Diff line change
Expand Up @@ -697,17 +697,17 @@ SHRarith_32:
SHRarith_0:
:RETURN

; @info Shift right D bytes to A
; @info Shift left D bytes to A
; @in A
; @in D
; @out A - A >> (8*D)) => A
; @out A - A << (8*D) => A


SHLarith:
%MAX_CNT_STEPS - STEP - 7 :JMPN(outOfCountersStep)

31 - D :JMPN(SHRarith_32)
D :JMPZ(SHRarith_0)
31 - D :JMPN(SHLarith_32)
D :JMPZ(SHLarith_0)

%MAX_CNT_MEM_ALIGN - CNT_MEM_ALIGN - 1 :JMPN(outOfCountersMemalign)

Expand All @@ -716,9 +716,9 @@ SHLarith:
$ => A :MEM_ALIGN_RD
:RESTORE, RETURN

SHRarith_32:
SHLarith_32:
0 => A :RETURN
SHRarith_0:
SHLarith_0:
:RETURN

; @info Shift right D bits to A
Expand Down

0 comments on commit e65af31

Please sign in to comment.