Zebryk
- 6th March 2015, 19:28
Hello Again,
How does one increment only the upper nibble of a byte?
Apparently there is no HighNibble or LowNibble function in PICBASIC?
My goal is to add 1, to the value of Bits [7654] leaving Bits [3210] alone.
And/or how to set just the high bits to some number?
Thanks!
How does one increment only the upper nibble of a byte?
Apparently there is no HighNibble or LowNibble function in PICBASIC?
My goal is to add 1, to the value of Bits [7654] leaving Bits [3210] alone.
And/or how to set just the high bits to some number?
Thanks!