IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Instruction LDBSR & BM


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 19, 2009 6:11 pm
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Aug 19, 2009 6:23 pm
Reply with quote

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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. Assembler - Packed Decimals - PACK in... PL/I & Assembler 3
No new posts Using L' to get length of instruction PL/I & Assembler 1
No new posts LA instruction in assembler PL/I & Assembler 4
No new posts The Test under Mask (TM) Instruction PL/I & Assembler 7
No new posts Control-M restart instruction CA Products 2
Search our Forums:

Back to Top