Re: Jumps across functions



On Aug 27, 5:16 pm, Tim Frink <plfr...@xxxxxxxx> wrote:
Hi,

is is possible to get valid assembler code from a
C source code with jumps from one routine
to a basic block in another routine?

Example:

routine main
.L1 ... // Labels for basic blocks
.L2 ...

routine foo
.L3
.L4

Can I have a jump from basic block L1 to basic block
L3?

Regards,
Tim

Children shouldn't be allowed to play with hammers.

.



Relevant Pages

  • Jumps across functions
    ... C source code with jumps from one routine ... Can I have a jump from basic block L1 to basic block ...
    (comp.programming)
  • Re: Jumps across functions
    ... C source code with jumps from one routine ... to a basic block in another routine? ... The compiler can do anything it wants, as long as correct input results ... // yada yada yada ...
    (comp.programming)
  • Re: Jumps across functions
    ... C source code with jumps from one routine ... Can I have a jump from basic block L1 to basic block ...
    (comp.programming)
  • Re: Just for fun!
    ... The number is positive if it jumps, so I don't want a '-'. ... That depends on the .1 jmp above. ... Could you be a bit more verbose and tell why you think the jumps are ... If you think there are errors in the routine, could you give a number, ...
    (alt.lang.asm)