Assigning byte variable from a long/word value?
I have some network stuff I'm doing as byte arrays, and I need to fill in some of them with values I'm getting from words. Do I need to bother doing the following:
a := (b>>8)&$FF
a := b&$FF
Or does it only copy the bottom 8 bits regardless, in which case the &$FF is wasted cycles?