Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Aug 11th, 2007, 6:34 AM   #1
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 291
Rep Power: 4 Klarre is on a distinguished road
[x86]Instruction test setting the zero flag

Was currently stepping through an application and found a piece of code that I could not understand.

My question is:
How can a TEST instruction set the ZERO flag when testing a byte with the same byte?

...
TEST, CL, CL
JE SHORT Application.004013B4 ; When will this row be executed?
...

Thanks for your help!

/Klarre
__________________
http://www.klarre.se
Klarre is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boolean Flag issue dwizzle13 Visual Basic .NET 4 Dec 7th, 2006 5:58 PM
test score brad sue C++ 7 Oct 3rd, 2006 7:37 AM
test lostcauz Coder's Corner Lounge 9 Jul 18th, 2006 3:20 PM
Separating Axis Test. Desperate for help xennon C++ 0 Apr 24th, 2005 7:08 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:08 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC