On Sun, 29 Jun 2003 16:20:20 -0400, you wrote: >I don't see why that should be a problem. All target languages support = a >limited set of integer types. This is just a more restrictive set than >usual, but shouldn't change the translator code any. > Not sure it's that simple. Say for example, in the original Pascal source you have a data structure that includes the two fields: abc : byte ; def : byte ; And lets assume that abc is word aligned, and we have two assignments: abc :=3D 100 ; def :=3D 200 ; When I convert to the 16 bit target using C I would normally convert = these into: (with "word" defined as "unsigned int", and "or" defined as "|") word abc_def ; abc_def =3D (100 << 8) or 200 ; likewise, say you have the comparison: if abc > 50 I would convert this to: if ((abc >> 8) > 50) Can your translator really do this? Did you write it yourself? Bob -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu