<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Mon, 11 Oct 2004 20:41:17 +0000
From   : "W.Scholten" <whs@...>
Subject: Re: Bit clear

Andrew W wrote:
> 
> I'm using the following to set a particular bit of a byte using a
> byte stored at &70.
> ORA &70
> which I think should set the bit in reg.A that is set in &70 shouldn't
> it? 

Yes.

> However is there a way of doing bit clear:
> t4%=(t4% AND NOT (2^__%))
> ?

ORA &70: EOR &70

Regards,

Wouter
--
BBC/Atom/magazine scans:
     http://8-bit.summerfield-technology.co.uk/
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>