question on x86 execution time.

Status
Not open for further replies.

sagar474

Full Member level 5
Joined
Oct 18, 2009
Messages
285
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,318
Location
India,kakinada
Activity points
3,122
dose x86 processor takes same time to compare two 8 bit numbers and two 32 bit numbers?
that is cmp instruction.

thank you
 

x86 is only a processor family name. 386 and above processors have 32 bit registers will perform the compare in one instruction cycle, independant of the operand size.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…