I’m posting here because I think it’s relevant.
If your looking for just the upper 4 bits, can you just use My_Variable = My_Variable >> 4? The help file (which is more or less the PBP manual copied) in microcode studio says when you shift values the new values shifted in are 0.
Example: (and again, I am asking if I am reading this correctly)
My_Variable = %11110101 ‘I want the upper four bits
My_Variable = My_Variabel >> 4 ‘Shift left 4 places, shifting in zeros… should now be %00001111
Is that correct?
Bookmarks