Added assembler macros and updated documentation.