To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 267
266  |  268
Subject: 
NQC listing mnemonics
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Sat, 4 Dec 1999 07:20:04 GMT
Viewed: 
2015 times
  
I have started looking at adding Scout support to NQC, and in the process
I am questioning whether or not to change the mnemonics used in the
disassembly listings (the -l option for nqc).  Currently, I use a set
mnemonics that I made up when writing NQC.  Now, however, we have a list
of "official" mnemonics from Lego (as part of the Scout SDK).  Should I
keep the old mnemonics or use the new ones?

For example, here are some of the old ones:

000 Set        var[0], 0             14 00 02 00 00
005 OutPwr     ABC, 7                13 07 02 07
009 OutDir     ABC, Fwd              e1 87

According to the lego mnemonics, this would be

000 setv       var[0], 0             14 00 02 00 00
005 pwr        ABC, 7                13 07 02 07
009 dir        ABC, Fwd              e1 87

Anyone have any strong feelings here?  I suspect only a few people look at
the listings anyway, but they are probably used to the old names.
However, using the new names would provide more commonality with the Scout
SDK.  I really don't want to support both (too much feature creep already
in NQC).

Dave Baum

--
reply to: dbaum at enteract dot com



Message has 3 Replies:
  Re: NQC listing mnemonics
 
Dave Baum skrev i meddelandet ... (...) I would suggest changing to the 'official', and keeping a 'translation table' in a text file. In that way you can use the LEGO documentation in the best way, we 'oldtimers' that have looked at the old keywords (...) (25 years ago, 4-Dec-99, to lugnet.robotics.rcx.nqc)
  Re: NQC listing mnemonics
 
Dave, I'm one of those who do look at the listings. I am somewhat torn between the old and the new mnemonics. I like yours better, but I think it would probably be better to go with our new "standard" from Lego. Of course Lego has only given us the (...) (25 years ago, 4-Dec-99, to lugnet.robotics.rcx.nqc)
  Re: NQC listing mnemonics
 
Hello Dave ... Santa just brought Scouts for both of my sons ... and of course he couldn't resist secretly opening one of the boxes. This led to his downloading the Scout SDK ... and staying up all night! Santa wholeheartedly votes for adding full (...) (25 years ago, 8-Dec-99, to lugnet.robotics.rcx.nqc)

8 Messages in This Thread:



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

Custom Search

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