comp.lang.ada
 help / color / mirror / Atom feed
* From 16 bit to 32
@ 2013-01-14 20:21 Scott Loyd
  2013-01-14 20:52 ` Adam Beneschan
  0 siblings, 1 reply; 11+ messages in thread
From: Scott Loyd @ 2013-01-14 20:21 UTC (permalink / 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;



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-01-15 22:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-14 20:21 From 16 bit to 32 Scott Loyd
2013-01-14 20:52 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox