Clean up code, remove magic constants, hide inline assembly