Hello,
I have a BYTE variable that contains a value.
Example: 0x11
What I want to do is split the high and low nible apart so I get 1 and 1. Then I want to increment the high nible with one and store it in the variable so I'll get 0x21.
How do I do this ? I read something about right shifting (>>) ??
Thanx
I have a BYTE variable that contains a value.
Example: 0x11
What I want to do is split the high and low nible apart so I get 1 and 1. Then I want to increment the high nible with one and store it in the variable so I'll get 0x21.
How do I do this ? I read something about right shifting (>>) ??
Thanx