disabled inline asm for debugging; added test case that loops