assem: memory cleanups, preprocessor: number formats preserved
assem: move functions away from main.c