How to play a winning move at this Nim board? assuming that I have this situation at Nim:
1,6,12,34,45,23,56,101,212
If I understand right, the is a winning situation because the Nim number is: 154.
This is the binary numbers of the piles: '00000001', '00000110', '00001100', '00100010', '00101101', '00010111', '00111000', '01100101', '11010100'.
When I do addition without carry (XOR) - I got the result - 10011010 = $154$.
So first of all I want to know if I'm right, and then I trying to understand what is the next move that will bring the Nim-Value to $0$, but I don't understand how to to so this.
If I'm taking 154 from the 212 pile, it's still not $0$...
Can you help me please?
Thank you!

You do not want to subtract 10011010 from a heap, you want to XOR a heap with 10011010, that is, you want to turn the 11010100 heap into 11010100 $\oplus$ 10011010 = 01001110.
