Fixed two bugs with inline assembly: