SPCR values into string

Your code is for SPE and SPIE.
I am also seeking the values for all other bits.

So I guess I have to query for the two possible states for each bit, right?

That's right - you didn't expect me to write it all for you, did you? :smiley:
That was just an example.

Another more general way of doing it would be to put the strings into an array of eight, then you could use the bit number as a subscript, and either print or store the strings as you want.