comp.lang.ada
 help / color / mirror / Atom feed
* Hi byte and Lo Byte Question
@ 2001-08-22 14:48 mop
  2001-08-22 15:56 ` Larry Kilgallen
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: mop @ 2001-08-22 14:48 UTC (permalink / raw)



I need to parse data into hi byte and lo byte. Does Ada have some built in
macros or .... I could use?  From the looks of it no.

here's the C version .... Need the Ada version as am new to Ada.

lo = LOBYTE(Value);   -- need Ada version for this LOBYTE macro
hi = HIBYTE(Value);    -- need Ada version for this HIBYTE macro
WORD.Data.Word5_Data_Value_In_HB_LB_Order[0] = hi;
WORD.Data.Word5_Data_Value_In_HB_LB_Order[1] = lo;






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

end of thread, other threads:[~2001-08-27 16:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-22 14:48 Hi byte and Lo Byte Question mop
2001-08-22 15:56 ` Larry Kilgallen
2001-08-22 16:21 ` Ted Dennison
2001-08-22 23:11 ` Mark Johnson
2001-08-23  0:23   ` Darren New
2001-08-23 14:13     ` Mark Johnson
2001-08-23 17:15       ` Darren New
2001-08-24  0:00       ` Robert Dewar
2001-08-24  7:52         ` Martin Dowie
2001-08-23 14:43   ` Marin David Condic
2001-08-24  8:09     ` Peter Dulimov
2001-08-24 16:20       ` Warren W. Gay VE3WWG
2001-08-24 17:05         ` Marin David Condic
2001-08-24 17:46           ` Warren W. Gay VE3WWG
2001-08-25  7:15             ` Simon Wright
2001-08-27 16:33               ` Warren W. Gay VE3WWG
2001-08-23  1:26 ` DuckE

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