Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Instruction LDBSR & BM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
cvadlamudi

New User


Joined: 19 Apr 2007
Posts: 68
Location: India

PostPosted: Wed Aug 19, 2009 5:55 pm    Post subject: Instruction LDBSR & BM
Reply with quote

Hi,

Can anyone provide the information on the instructions LDBSR & BM. If i am correct i believe LDBSR is nothing but Load Base register and not sure about 'BM'.

Thanks,
Mouli
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 19, 2009 6:11 pm    Post subject: Reply to: Instruction LDBSR & BM
Reply with quote

LDBSR does not appear in the POPS manual and it might be an in-house Macro. To view its expansion, add PRINT GEN to your source.

As far as BM, it's a mnemonic condition code (Branch Minus) which is set after an Arithmetic operation. Example:

Code:

         LA   R1,2          LOAD WITH F'2'
         AHI  R1,-3         SUBTRACT 3
         BM   NEGATIVE      BRANCH WHEN RESULT IS NEGATIVE

Bill
Back to top
View user's profile Send private message
cvadlamudi

New User


Joined: 19 Apr 2007
Posts: 68
Location: India

PostPosted: Wed Aug 19, 2009 6:19 pm    Post subject: Re: Reply to: Instruction LDBSR & BM
Reply with quote

Great!... this helps,

Thanks Bill


Regards,
Mouli
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 19, 2009 6:23 pm    Post subject: Reply to: Instruction LDBSR & BM
Reply with quote

Here's a PDF you should always have handy if you're going to be coding in Assembler (watch the wraparound) -

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/download/DZ9ZS004.pdf?DT=20080216193251&XKS=DZ9ZBK08

Bill
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Interpret instruction not working in ... spoorni CLIST & REXX 2 Fri Feb 07, 2014 10:22 pm
No new posts Displaying the value set by the EXIT ... Ricardo Viegas CLIST & REXX 12 Tue Dec 03, 2013 5:17 am
No new posts Data studio(for zos) instruction manual srilata83 DB2 2 Fri Jan 18, 2013 10:37 am
No new posts AL1(XXX) usage in DC instruction yugendran PL/I & Assembler 1 Thu Dec 06, 2012 3:59 pm
No new posts Assembler compare instruction Arunkumar Chandrasekaran PL/I & Assembler 3 Thu Jul 19, 2012 11:49 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us