/[gxemul]/trunk/src/cpus/cpu_avr_instr.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/cpus/cpu_avr_instr.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 19 by dpavlin, Mon Oct 8 16:18:51 2007 UTC revision 20 by dpavlin, Mon Oct 8 16:19:23 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: cpu_avr_instr.c,v 1.3 2005/09/17 22:34:52 debug Exp $   *  $Id: cpu_avr_instr.c,v 1.4 2005/11/06 22:41:12 debug Exp $
29   *   *
30   *  Atmel AVR (8-bit) instructions.   *  Atmel AVR (8-bit) instructions.
31   *   *
32   *  Individual functions should keep track of cpu->n_translated_instrs. Since   *  Individual functions should keep track of cpu->n_translated_instrs.
  *  AVR uses variable length instructions, cpu->cd.avr.next_ic must also be  
  *  increased by the number of "instruction slots" that were executed. (I.e.  
  *  if an instruction occupying 6 bytes was executed, then next_ic should be  
  *  increased by 3.)  
  *  
33   *  (n_translated_instrs is automatically increased by 1 for each function   *  (n_translated_instrs is automatically increased by 1 for each function
34   *  call. If no instruction was executed, then it should be decreased. If, say,   *  call. If no instruction was executed, then it should be decreased. If, say,
35   *  4 instructions were combined into one function and executed, then it should   *  4 instructions were combined into one function and executed, then it should

Legend:
Removed from v.19  
changed lines
  Added in v.20

  ViewVC Help
Powered by ViewVC 1.1.26