comp.lang.ada
 help / color / mirror / Atom feed
* Does Ada support endiannes?
@ 2011-12-12  8:57 Gerd
  2011-12-12  9:23 ` Niklas Holsti
  2011-12-12 11:27 ` Dmitry A. Kazakov
  0 siblings, 2 replies; 30+ messages in thread
From: Gerd @ 2011-12-12  8:57 UTC (permalink / raw)


Hello,

a while ago, I worked at Siemens company, with a (CHILL-)compiler that
supports endianess similar to this:

litte : Integer; pragma Datalayout(Little_Endian);
big  : Integer; pragma Dtalayout(Big_Endian);

little := big; -- compiler generates code for converting big endian to
little endian

if little = big -- compiler converts the variables to machines nativ
format before testing


Is there something similar available with Ada? Or has someone any
suggestions how to rewrite it in ada?

Regards,
Gerd



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

end of thread, other threads:[~2012-01-04 11:58 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-12  8:57 Does Ada support endiannes? Gerd
2011-12-12  9:23 ` Niklas Holsti
2011-12-12 11:27 ` Dmitry A. Kazakov
2011-12-12 12:44   ` Gerd
2011-12-12 19:23     ` Jeffrey Carter
2011-12-13 14:25       ` Gerd
2011-12-13 14:19     ` Gautier write-only
2011-12-14 16:16       ` Gerd
2011-12-14 18:16         ` Dmitry A. Kazakov
2011-12-14 20:16         ` Gautier write-only
2011-12-15 11:27           ` Gerd
2011-12-15 13:01             ` Simon Wright
2011-12-15 13:37             ` Dmitry A. Kazakov
2011-12-15 20:12             ` Jeffrey Carter
2011-12-12 12:46   ` Gerd
2011-12-12 13:22     ` Dmitry A. Kazakov
2011-12-12 17:07       ` Charles H. Sampson
2011-12-12 18:33         ` Dmitry A. Kazakov
2011-12-14  5:19           ` Charles H. Sampson
2011-12-14  8:56             ` Dmitry A. Kazakov
2011-12-14  9:46               ` Simon Wright
2011-12-15  9:14               ` Charles H. Sampson
2011-12-15  9:46                 ` Dmitry A. Kazakov
2011-12-25 21:42                   ` Charles H. Sampson
2011-12-26 10:47                     ` Dmitry A. Kazakov
2011-12-27 10:38                       ` Georg Bauhaus
2011-12-27 12:35                         ` Dmitry A. Kazakov
2012-01-04  4:33                       ` Charles H. Sampson
2012-01-04 11:56                         ` Dmitry A. Kazakov
2011-12-12 13:33     ` Robert A Duff

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