Followers 0

# GXWorks2 - K8M300?

## 5 posts in this topic

Hi,

I found this instruction on this ladder and wondering how it is calculated?

From the right, I understand they compare value from M0-M31 to M300-M331 because they started next with M32/M332.

I thought it K8 * 8bit = 64 but it is not.

Thanks!

##### Share on other sites

Nibbles not bits. K8 = 8 x 4 = 32

2 people like this

##### Share on other sites
1 hour ago, Goran Vuckovic said:

Nibbles not bits. K8 = 8 x 4 = 32

Why x 4? Any reason? Applied to D, X and Y as well?

##### Share on other sites

Yes, because it is written in the manual. K1 means 4 bits. And as you can see from your example, it is valid also for D registers. Of course also for X, Y and M.

1 person likes this

##### Share on other sites
On 10/19/2022 at 3:51 AM, Lambir said:

Yes, because it is written in the manual. K1 means 4 bits. And as you can see from your example, it is valid also for D registers. Of course also for X, Y and M.

Thank you very much.