comp.lang.ada
 help / color / mirror / Atom feed
From: sparre@fys.ku.dk (Jacob Sparre Andersen)
Subject: Re: operation on bits
Date: 1998/11/18
Date: 1998-11-18T00:00:00+00:00	[thread overview]
Message-ID: <72v0um$uko$1@kirstine.fys.ku.dk> (raw)
In-Reply-To: 365273C4.68BF@usa.net

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]

alex <cpp4@usa.net> writes:

>How do I change a bit inside byte using ada Like i'd do with assembler ?

Use the "and" and "or" functions. You could also map a byte to an array
of booleans.
-- 

Jacob

----------------------------------------------------------------------------
--  Jacob Sparre Andersen     --  E-mail: Jacob.Sparre.Andersen@risoe.dk  --
--  National Laboratory Ris�  --  Phone.: (+45) 46 77 51 23               --
--  Systems Analysis          --  Fax...: (+45) 46 77 51 99               --
----------------------------------------------------------------------------




      reply	other threads:[~1998-11-18  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-18  0:00 operation on bits alex
1998-11-18  0:00 ` Jacob Sparre Andersen [this message]
replies disabled

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