split monolithic main into pieces
macros; fpu exceptions
add fpu unmasking exceptions code