diff --git a/include/util/arena_alloc.nasm b/include/util/arena_alloc.nasm index c092ea6..e9a2be6 100644 --- a/include/util/arena_alloc.nasm +++ b/include/util/arena_alloc.nasm @@ -50,7 +50,7 @@ arena_align_up: mov ax, [bp + 4] ; x mov bx, [bp + 6] ; a - or bx, bx + test bx, bx jz .endp ; enforce power-of-two for alignment, return x