Skip to content

Latest commit

 

History

History
28 lines (11 loc) · 236 Bytes

File metadata and controls

28 lines (11 loc) · 236 Bytes

Question 37

How to test whether rax is zero without cmp command?

Answer

By means of test instruction:

test rax, rax
jz _label



_label:
; We jump to here if rax == 0

prev +++ next