MOV is Turing complete!

·

1 min read

You can write a whole program using only "move" command! Add, Load, Sub, … every assembly command can be re-written using this single command!
But the catch is that this idea uses invalid memory addresses to do comparison! To check if x is equal to y you need to put value of 0 in [x] and 1 in [y]. Then [x] denotes if x is equal to y.