Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-ui-dev] Adding functionality to ASM Editor

One way to go would be to have configurable word lists that get added to the rules for
highlighting in the ASM editor. You could have word lists (selectable from preferences) for
the different target processor types. You would essentially do something similar to what's
done registering the keywords in the code scanner, but you'd do it from a list read
from some config xml file (so that people can extend to new processors without code changes).
 
There are other ways, but that's the first that came to mind...
 
Sebastien
-----Original Message-----
From: Igor S Zamjatin [mailto:isz@xxxxxxxxxxxxx]
Sent: Friday, October 25, 2002 7:18 AM
To: cdt-ui-dev@xxxxxxxxxxx
Subject: [cdt-ui-dev] Adding functionality to ASM Editor


Hi, all!!

    I want to change AsmEditor a little. In fact I want editor to highlight my own instructions and directives. Fortunately, directives of my asm are beginning with '.' so I can add them to AsmCodeScanner  without any problems. But all troubles is instructions. They represent itself words like "mov", "jp", "and" and so on.

  I know that work at Editor's stuff has low prioritet but,

    may be someone will prompt me how to make Asm parser highlight my instructions . It would be great if someone will write some strings of source code or explain an essense of how to do it


 
Great thanks,

 Igor S. Zamyatin
 Interstron Ltd.
----------------------------------------
email:  isz@xxxxxxxxxxxxx
tel:    +7 (095) 269-4713
cell:   +7 (902) 659-5838
www:    http://www.interstron.ru

Back to the top