We should support having a write mask register. A register placed on address for example X, that will mask out individual bits on writes to addresses in range X+1 to X+Y.
Reason for this is that software does not wanna do a read of register A, then change bit A[0] and write the value back. Much faster to write just the bit that needs changing and mask all the other bits out.
We should support having a write mask register. A register placed on address for example X, that will mask out individual bits on writes to addresses in range X+1 to X+Y.
Reason for this is that software does not wanna do a read of register A, then change bit A[0] and write the value back. Much faster to write just the bit that needs changing and mask all the other bits out.