1. A method to create data transformation routines for binary data to transform said data from a source format to a target format, the method comprising the steps of: a) generating a source model of a source format element; b) generating a target model of a target format element; c) generating a mapping between said source model and said target model, wherein the mapping accounts for differences in endianness between the source and target models, wherein target models generate a plurality of target elements and the mapping generated between the source model and said plurality of target models, and wherein the source models generate a plurality of target elements and the mapping generated between said plurality of source models and said target model; and d) generating a transformation routine based on said mapping for extracting data from said source element and depositing said data in said target element, wherein the transformation routine is arranged to transform data in software code instructions from a source format code to a target format code and the transformation routine are generated in said target format code, and wherein the transformation routine is associated with a template providing a set of target format instruction semantically equivalent to said identified source instruction.