View Single Post
  #37   Spotlight this post!  
Unread 15-02-2004, 22:56
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Using Digi-Key Shaft Encoders

Quote:
Originally Posted by KevinB
I have written my own Interrupt handler for reading the optical encoders. Is there an easy way to see how many instructions the C Code translates to?
Yes, there certainly is. Have a look at the .lst file that the compiler generates. It's a text file that shows you what assembly and machine code the compiler generated and where it placed it in memory.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org