From: Scott Loyd <loyd.scott@gmail.com>
Subject: From 16 bit to 32
Date: Mon, 14 Jan 2013 12:21:38 -0800 (PST)
Date: 2013-01-14T12:21:38-08:00 [thread overview]
Message-ID: <c1d91828-3baf-4ed0-bef2-b3df1f49a824@googlegroups.com> (raw)
Hi all,
This is probably a silly question but I have to ask. I have a large legacy application written primarily in Ada with some machine code for interfacing with an old 16 bit 1750A processor. I would like to take this code and execute it on 32 bit linux. I know that the machine code must be replaced. My question is for references to address types in the Ada code, is there a way to get around manually fixing all the record layout specifications and the like using a compiler configuration or pragma or (other)? Can I save a little work or do I need to brute force recode everything?
type A is record
Address : System.Address;
end record;
for type A use record
-- Change this???
--Address at 0 range 0..15;
Address at 0 range 0..31
end record;
next reply other threads:[~2013-01-14 20:21 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-14 20:21 Scott Loyd [this message]
2013-01-14 20:52 ` From 16 bit to 32 Adam Beneschan
2013-01-14 21:09 ` Scott Loyd
2013-01-15 22:27 ` Stephen Leake
2013-01-15 0:14 ` Georg Bauhaus
2013-01-15 0:34 ` Adam Beneschan
2013-01-15 2:40 ` Jeffrey Carter
2013-01-15 0:44 ` Randy Brukardt
2013-01-15 14:40 ` Robert A Duff
2013-01-15 15:47 ` Scott Loyd
2013-01-15 19:12 ` J-P. Rosen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox