Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Testing for 0

ZF bit in RFLAGS register is set to 1 if the instruction result is 0 and cleared otherwise. This bit is affected by:

  • Arithmetic instructions (for example, ADD, SUB, MUL)

  • Logical compare instruction (TEST)

  • "Arithmetical" compare instruction (CMP)


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial