1. An apparatus for generating processor-specific assembly code dynamically, comprising: an abstract routine generator within a program executing on a computer, said abstract routine generator for receiving a data stream comprising a multimedia routine and for outputting a generic abstract representation thereof at program startup; and a translator for said abstract routine generator within said program for receiving said abstract representation and for outputting processor specific final code for processing multimedia input data at program startup.