Long Branches
tropp at cthce.UUCP
tropp at cthce.UUCP
Tue Feb 10 20:10:32 AEST 1987
In article <449 at hadron.UUCP> jsdy at hadron.UUCP (Joseph S. D. Yao) writes:
|In article <3950007 at nucsrl.UUCP> ram at nucsrl.UUCP (Raman Renu) writes:
|| I have a problem in using the C compiler and VAX assembler in our local
||4.3BSD(VAX) site. I have a program which has a huge(>900lines) switch
||statement.
||The assembler chokes on (>32K long) long branches.
|
|Speaking of which, I'd like to promote the use of the form:
| if (...) {
| ...
| } else if (...) {
| ...
| } else if (...) {
| ... ...
| }
>From 4.2BSD(VAX) as man page:
-J Use long branches to resolve jumps when byte-
displacement branches are insufficient. This must be
used when a compiler-generated assembly contains
branches of more than 32k bytes.
More information about the Comp.lang.c
mailing list