- Set the instruction pointer
- Compute arithmetic expressions via address calculation
- Compare two values by using their corresponding locations
A discussion of how to do Computer Science well, particularly writing code and architecting program solutions.
Tuesday, March 18, 2014
Turing Complete x86 Mov
Here is a small work that showed the power (or perhaps horror) of modern assembly languages. I've told people before that an instruction to "subtract and branch if negative" is sufficient for all programming. But never would have I imagined that x86's mov is also sufficient. Until you think about what Intel lets you do:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment