Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

INC & DEC Operation

Status
Not open for further replies.

vijay s

Full Member level 3
Joined
Jun 14, 2008
Messages
159
Helped
27
Reputation
54
Reaction score
9
Trophy points
1,298
Location
Coimbatore, India
Activity points
2,152
Hi folks

Need a clarification in INC & DEC Operation.

Code:
J++;
J--;

Which is faster, Increment or Decrement Operation.
 

I don't expect a difference for any recent processor. There will be however a difference related to the "storage class" of J (is it a register variable or which memory area it resides in?).
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top