Here is C++ struct code declaration:
int No:8 , Count:24;
I don't know how can I convert bit declaration;;
Here is my code:
THLIST = packed record
No_Count: Integer; // int No:8 , Count:24;
I try to declare whole 32bit data(No 8bit, Count 24bit = Total 32bit) to Integer type!!
Then get No and Count value by bit operation!!
No = THList.No_Count and $000F;
Count = THList.No_Count and $FFF0;
Is there any convert way gracefully to access each `No` and `Count` variables in record!!