[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Fix wrong size of outgoing packets in the FEC driver



Am 04.09.2014 um 22:19 schrieb Vincent Rivière <vincent.riviere@freesbee.fr>:

> Indeed, but BSET does the same, without that read-modify-write mess at bus level!
> 
> BSET sets a bit... but returns the old value in the Z flag!
> So it reads value and also modifies it, in a single non-interruptible instruction. Still valid for a semaphore on a single-processor environment.

O yes. Of course. I knew that - before I forgot ;)

Thanks!