This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Store bit flags on an 16bits memory

Hi,

Anyone knows how to use bit flags using only 1 bit of each word of a 16bits RAM memory?, by this way, I can store 16 flags on each word.

I'm adapting an old 16bits program that used a bit a bit addresable memory, And I don't want to change all code using masks to emule a bit a bit addresable, and I don't wan't to use a 16bits word to only store a bit.

There are any software easy solution?

Thanks!!

0