Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!eru!luth!sunic!mcsun!tuvie!inst182 From: inst182@tuvie (Inst.f.Techn.Informatik) Newsgroups: gnu.gcc Subject: short jumps Keywords: port Message-ID: <1049@tuvie> Date: 2 Feb 90 11:55:27 GMT Organization: TU Vienna EDP-Center, Vienna, AUSTRIA Lines: 19 I want to make a port of gcc to a new processor that has short relative jumps for up to +-128 instructions. Now my problem is the following: This jump has completely different semantics than a far jump. How can I check if I can use the short jump instead of a far jump. I cannot delay the decision till assembly time, so I *MUST* have gcc emit the right instruction. *ANY* hints will be appreciated. thanx in advance, mike ____ ____ / / / / / Michael K. Gschwind mike@vlsivie.at / / / / / Institute for VLSI-Design mike@vlsivie.uucp ---/ Technical University, Vienna / ___/