Refactoring instruction execution. Simplifying some actions