replace or opcode with test
test only updates flags
This commit is contained in:
@@ -50,7 +50,7 @@ arena_align_up:
|
|||||||
mov ax, [bp + 4] ; x
|
mov ax, [bp + 4] ; x
|
||||||
mov bx, [bp + 6] ; a
|
mov bx, [bp + 6] ; a
|
||||||
|
|
||||||
or bx, bx
|
test bx, bx
|
||||||
jz .endp
|
jz .endp
|
||||||
|
|
||||||
; enforce power-of-two for alignment, return x
|
; enforce power-of-two for alignment, return x
|
||||||
|
|||||||
Reference in New Issue
Block a user