[Info-vax] PL/1 on VMS
glen herrmannsfeldt
gah at ugcs.caltech.edu
Tue Jan 24 06:25:42 EST 2012
VAXman- wrote:
> In article <4f1e0507$0$281$14726298 at news.sunsite.dk>, =?ISO-8859-1?Q?Arne_Vajh=F8j?= <arne at vajhoej.dk> writes:
>>On 1/23/2012 3:46 PM, kczwei wrote:
>>> VMS macro and VMS dibol to VMS c would be great.
>>I suspect that Macro->C could be difficult.
Not so hard, if you don't mind a little inefficiency.
If you generate variables for each processor register, then many
instructions will generate statements using those variables.
> Why would one want to do that anyway?
A program might have been written in Macro when processors were
much slower than today. C code running on a much faster processor
might be more useful today. Especially note that it allows one to
use a completely different processor without a complete understanding
of the old code.
That is, as an alternative to emulating the object code from
the older machine.
-- glen
More information about the Info-vax
mailing list