[Info-vax] Text processing examples with Fortran requested

seasoned_geek roland at logikalsolutions.com
Mon Nov 16 10:07:33 EST 2009


On Nov 15, 7:47 pm, moro... at world.std.spaamtrap.com (Michael Moroney)
wrote:
> Speaking of text manipulation, I'll ask this, though I know it's a real
> shot in the dark.
>
> Does anyone know of any tools to manipulate VAX Macro-32 code?  By
> "manipulate" I mean to find instructions with specific addressing modes
> or do things like convert all word instructions whose destination is a
> register to longword equivalent and find all MOVAx instructions whose base
> is R7, all without being fooled by commented out lines, of course.
>
> I know I'll have to write individual tools, and will have to learn
> one of those text manipulation "languages", but I figure I'd ask anyway.
>
> I have to deal with thousands of lines of the most gawdawful macro-32
> code ever created.

copy the source to a KUbuntu desktop then install Kate, SciTE, and
jEdit.  Read through the on-line doc for regular expression search and
replace each has.  One of the three will meet your needs.  If you are
really good with regular expressions you might want to install Tea and
use it to edit.



More information about the Info-vax mailing list