For BYTE sized variables, when the value goes over 255 the upper bits are lost, which makes it automatically wrap around to 0.
You don't need to do it manually.
For words, it wraps when over 65535.
<br>
For BYTE sized variables, when the value goes over 255 the upper bits are lost, which makes it automatically wrap around to 0.
You don't need to do it manually.
For words, it wraps when over 65535.
<br>
DT
Bookmarks