...
Code Block |
---|
1. esimerkki, a = 0 ^ 1 = 00000000b ^ 0000 0001b = 00000001b = 1 2. esimerkki, a = 1 ^ 1 = 00000001b ^ 0000 0001b = 00000000b = 0 3. esimerkki, a = 2 ^ 1 = 00000010b ^ 0000 0001b = 00000011b = 3 4. esimerkki, a = 3 ^ 1 = 00000011b ^ 0000 0001b = 00000000b00000010b = 2 5. esimerkki, a = 4 ^ 8 = 00000100b ^ 0000 1000b = 00001100b = 12 = 0xC = 014 6. esimerkki, a = 4 ^ 12 = 00000100b ^ 0000 1100b = 00001000b = 8 = 0x8 = 010 |
...