To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 11
10  |  12
Subject: 
Re: Some goals, ideas, etc. for a new bytecode interpreter (long)
Newsgroups: 
lugnet.robotics.rcx
Date: 
Mon, 10 May 1999 17:25:50 GMT
Viewed: 
3130 times
  
Mark Tarrabain  <markt@lynx.bc.ca> wrote:
> > I imagine all new debugging functions to be implemented with a single
> > IR-only opcode, to keep the impact on the opcode space small.
> 
> Hrm, but wouldn't the lengths of all the debugging opcodes be the same
> in that case?

Sure, but that's what zero padding is for.  Since the opcode is IR-only,
you don't care too much about length.  The only length restriction comes
from the second digit of the opcode, assuming you're using the ROM to
receive incoming IR data.

> Although technically every instruction could be a legitimate breakpoint,
> in practice, the only breakpoints in a program would be at the first
> instruction for a given source line (since a single line of source code
> may map to more than a single instruction).

Some people might want to step through the disasm, no?  Especially if they
do not yet trust the compiler.

> I can see this being useful, but the debugging information should
> definitely *NOT* exist on the RCX itself (it will take up too much
> space).

Nobody said the debugging information should be stored on the RCX.
Clearly, some records in the file contain actual object code, and other
records contain other data.

-Kekoa



Message has 1 Reply:
  Re: Some goals, ideas, etc. for a new bytecode interpreter (long)
 
(...) Single-stepping through instructions would be a mode offered by the interpreter, and wouldn't require any breakpoints to be set. I suppose what the debugging information could contain is, instead of a list of valid breakpoints, a list of (...) (27 years ago, 10-May-99, to lugnet.robotics.rcx)

Message is in Reply To:
  Re: Some goals, ideas, etc. for a new bytecode interpreter (long)
 
(...) In light of some of your points raised earlier and consideration since I first brought it up, I can see that bytecode level compatibility is not strictly required. By Look & Feel, I refer only to the observable behaviour of the RCX, not the (...) (27 years ago, 9-May-99, to lugnet.robotics.rcx)

9 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR