News for hackers. Stuff that matters.
Re:PSA: If you're a fan of ATmega, try AVR Dx by Mister_Snuggles on Thursday June 06, 2024 @10:28AM (#40597830)
> life improvements like, in order to clear some registers all one need to do is write 1 instead of the whole =& ~(REG | 0x8) (or something like that, it’s been a while since I write embedded C)

This is a really interesting feature since it addresses a shortcoming of the C language (inability to easily express bit set/clear) by introducing a new hardware feature.

Re:PSA: If you're a fan of ATmega, try AVR Dx by garaetjjte on Friday June 07, 2024 @07:34AM (#40607595)
SBI/CBI only allowed changing one bit, new registers allow for multiple bits and also toggling them.