14
edits
m (→Shininess: Changed the <= to just plain <.) |
Magic-8ball (talk | contribs) |
||
Line 106: | Line 106: | ||
Variables ''E'' and ''F'' are declared to hold the values that result. | Variables ''E'' and ''F'' are declared to hold the values that result. | ||
A bitwise {{wp|exclusive or}} (''xor'') operation (such as ''a'' xor ''b'' = ''c'') is equivalent to saying "If each byte of ''a'' ≠ ''b'', ''c'' is true." In other words, | A bitwise {{wp|exclusive or}} (''xor'') operation (such as ''a'' xor ''b'' = ''c'') is equivalent to saying "If each byte of ''a'' ≠ ''b'', ''c'' is true." In other words, 11010111 xor 01101010 = 10111101. Each xor in the operation is a bitwise xor. | ||
''E'' = ''ID<sub>Trainer</sub>'' xor ''ID<sub>Secret</sub>'' | ''E'' = ''ID<sub>Trainer</sub>'' xor ''ID<sub>Secret</sub>'' |
edits