Skip to content

Commit

Permalink
Add nodes left arr assert
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Aug 11, 2024
1 parent aa24c5c commit 6316c79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/huffman/asserts.asm
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@
pop rax
%endmacro

%macro huff_assert_nodes_left_ptr 1
push rax
mov rax, %1
check_bounds rax, huff_nodes_left, 8, HUFFMAN_MAX_SYMBOLS
pop rax
%endmacro

0 comments on commit 6316c79

Please sign in to comment.