patcdr·5 anni fa·discussI've built a system that kinda does that: https://patcdr.net/carl/listingtl;dr: People can build ASM modules on that site and load them into my game (when enabled) using chat commands. And it does work on my original SNES by using some SD2SNES trickery.
patcdr·16 anni fa·discussMy first day at Microsoft, I was worried about this. This worry dissipated once I saw my boss's boss pull one out in a meeting.
patcdr·17 anni fa·discussI'd wager much higher than that. At the very least, I'm using Win7. Statistics on browser/OS usage from pg would be interesting though.
patcdr·17 anni fa·discussIt still works fine if a and b are the same value.Here's the general proof:a ^= b (a = a ^ b, b = b)b ^= a (a = a ^ b, b = b ^ (a ^ b) = a)a ^= b (a = b ^ (a ^ b) = b ,b = a)Now, let's replace all references initial values with constant c:a ^= b (a = c ^ c = 0, b = c)b ^= a (a = 0, b = c ^ 0 = c)a ^= b (a = c ^ 0 = c, b = c)Notice that at the end, you still end up with a = b = c. There are plenty of reasons not to use this approach, but that ain't one of them.
tl;dr: People can build ASM modules on that site and load them into my game (when enabled) using chat commands. And it does work on my original SNES by using some SD2SNES trickery.