moved all asm definitions to a separate file, replaced #defines with enums and consts in C headers