1456
Axe / Writing to bits
« on: November 08, 2010, 03:30:55 pm »
Whats the smallest way of writing bits? (I don't care if it's Axe or Asm(HEX) type of thing)
So far the only thing I've come up with is
Does anyone have any ideas?
So far the only thing I've come up with is
Code: [Select]
{Pointer}±e^(7-Bit#)→{Pointer}
Use + for writing 1 to the bit, or - for writing 0 to the bit. The only problem is that writing 0 or 1 to a bit that already contains 0 or 1 respectively, will mess everything up.Does anyone have any ideas?