🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.asm370
Article #358

Establishing a code base reg (was: SAVE/RETURN macros in AMODE 64)

#358
From: Bob Raicer
Date: Mon, 19 Sep 2005 14:24
34 lines
2355 bytes
  :  Date:    Fri, 16 Sep 2005 13:41:17 -0600
  :  From:    Steve Comstock <steve@trainersfriend.com>
  :  Subject: Re: SAVE/RETURN macros in AMODE 64
  :
  :  Wait.
  :
  :  1. Why are you using BALR / USING? When you
  :      are entered in in AMOD64, you _must_
  :      user LARL to get your base address
  :

Why do you believe your assertion that one must use LARL to
estabish a base register is true?

The following instruction sequences will produce the same result
when executing in 64-bit addressing mode, namely, GPR 12 will
contain the pure 64-bit address of the label NSI.

  Case 1:
           BASR  12,0
     NSI   DC    0H'0'


  Case 2:
           BALR  12,0
     NSI   DC    0H'0'


  Case 3:
           LARL  12,NSI
     NSI   DC    0H'0'


Bob Raicer
Technical Details
Message-ID: <200509191424.j8JEOsUE004258@listserv.cc.uga.edu>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!raicer.com!RJR

Show Full Headers
Complete Article Headers
X-Google-Thread: fcdcb,3c364ef8385d7aa,start
X-Google-Attributes: gidfcdcb,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!140.99.99.194.MISMATCH!newsfeed1.easynews.com!easynews.com!easynews!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-14!supernews.com!149.173.6.116.MISMATCH!foggy!vm.sas.com!raicer.com!RJR
From: Bob Raicer <RJR@raicer.com>
Newsgroups: bit.listserv.asm370
Subject: Establishing a code base reg (was: SAVE/RETURN macros in AMODE 64)
Date: Mon, 19 Sep 2005 08:24:54 -0600
Organization: SAS Inc.
Lines: 34
Sender: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
Message-ID: <200509191424.j8JEOsUE004258@listserv.cc.uga.edu>
NNTP-Posting-Host: mozart.unx.sas.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: foggy.unx.sas.com 1127140208 16055 10.19.150.41 (19 Sep 2005 14:30:08 GMT)
X-Complaints-To: usenet@unx.sas.com
NNTP-Posting-Date: Mon, 19 Sep 2005 14:30:08 +0000 (UTC)
Comments: Gated by NETNEWS@VM.SAS.COM
Return-Path: <owner-assembler-list@LISTSERV.UGA.EDU>
Priority: Normal
X-Mailer: PMMail 2000 Standard (2.20.2661) For Windows 2000 (5.0.2195;3)
Approved-By: Bob Raicer <RJR@RAICER.COM>
Return-Path: owner-assembler-list@LISTSERV.UGA.EDU
X-OriginalArrivalTime: 19 Sep 2005 14:30:06.0483 (UTC)
                       FILETIME=[A1705E30:01C5BD26]
Originator: daemon@mozart.unx.sas.com