home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,260 of 4,675   
   Kerr-Mudd,John to nomailings@nospicedham.trgzxcqvbe.c   
   Re: test al,al setting of ZF   
   30 Dec 20 12:46:50   
   
   From: notsaying@nospicedham.127.0.0.1   
      
   On Wed, 30 Dec 2020 10:18:28 GMT, Rod Pemberton   
    wrote:   
      
   > On Tue, 29 Dec 2020 02:26:42 -0800   
   > bilsch01  wrote:   
   >   
   >> True or False:   
   >> test al,al sets ZF only if al = 0   
   >>   
   >   
   > Look up TEST instruction here:   
   >   
   > http://qcd.phys.cmu.edu/QCDcluster/intel/vtune/reference/About_IA-32_In   
   > structions.htm   
   >   
   > That's a browse-able HTML version of an IA-32 manual.   
   >   
   or elsewhere   
   https://reverseengineering.stackexchange.com/questions/25188/what-does-   
   test-al-al-mean   
      
   Yes. But why do that if you want to test if al=0? far clearer to code   
   "cmp al,0"   
      
   but is cy set identically? back at the OP!   
      
   --   
   Bah, and indeed, Humbug.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca