29.09.2021, 19:40
Hello,
I have two registers 71 and 72, in which I must obtain the information of the energy value
the two registers make a total of 32 bits:
as examples we have:
Register Data
Register 71 ------0111101293921029
Register 72 ------0129213123232323
I have to divide those bits to do an operation, as follows
0 1111 0129 392 1029 0129 2131 2323 2323
sign E M
How can I separate the data in that way to be able to do a mathematical operation with them?
I have two registers 71 and 72, in which I must obtain the information of the energy value
the two registers make a total of 32 bits:
as examples we have:
Register Data
Register 71 ------0111101293921029
Register 72 ------0129213123232323
I have to divide those bits to do an operation, as follows
0 1111 0129 392 1029 0129 2131 2323 2323
sign E M
How can I separate the data in that way to be able to do a mathematical operation with them?