Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!ames!think!samsung!cs.utexas.edu!usc!brutus.cs.uiuc.edu!rpi!batcomputer!cornell!uw-beaver!Teknowledge.COM!unix!hplabs!hpda!hpcuhb!hpcllla!hpcllz2!dhandly From: dhandly@hpcllz2.HP.COM (Dennis Handly) Newsgroups: comp.sys.hp Subject: Re: HP PA assembly language question Message-ID: <3770045@hpcllz2.HP.COM> Date: 17 Mar 90 12:23:03 GMT References: <564@opus.NMSU.EDU> Organization: Hewlett Packard Calif. Language Lab Lines: 19 >1) Can't the BV be used with either form of call? BV can be used for both calls if the pc space is the same as SR4. For vanilla code this is true. (Since the BLE was with SR4.) >2) Mustn't the BE be used only with the LDIL form of call? If SR0 is not set up to match the pc space, then it can't be used for the BL form of the call. >3) Since the BE works with either intra- or interspace calls, is the LDIL > call "better"? LDIL form is not better if you are only branching to a procedure close by. For procedures that are far away, the linker retargets the BL to branch to LDIL L'xxx BE R'xxx(4,0) This is known as a long branch stub.