Re:MOV is Turing-complete (2013) [pdf]
by magicalhippo on Tuesday February 18, 2020 @04:05PM
(#22360395)
The native and super inefficient way would be basically the same: write 1 to all addresses greater or equal to X, and 0 to all addresses less than X, then read from address Y and see what you end up with.
Probably a more clever trick out there though.
Now, how would you do greater than / less than comparisons?