At 03:34 PM 4/12/00 , you wrote: >This is probably a dumb ass question. > No...not at all. >But how do you single step a programme with an ICE >while trying to follow your C source code? >I can with assembler, I cant see how this could be done >with C if there is not always a direct correlation line for >line, instruction by instruction. > The C compiler vendor encodes line number <-> address references in its symbol file. The ICE vendor parses this data so it knows which addresses (opcodes) were generated for any particular C source line. When the user 'Single Steps' a C source line, the ICE can 'microstep' until it hits an address that belongs to a different source line. Once it hits an address associated with a new source line, the displays are updated. > >_____________________________ > >Lance Allen >Technical Officer >Uni of Auckland >Psych Dept >New Zealand > >www.psych.auckland.ac.nz > >_____________________________ > Jerry Merrill jerrym@tech-tools.com http://www.tech-tools.com FAX: (972) 494-5814 VOICE:(972) 272-9392 TechTools PO Box 462101 Garland, TX 75046-2101