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
 

 

Use of BNO Instruction in Assembler

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

New User


Joined: 18 Jun 2010
Posts: 2
Location: chennai

PostPosted: Fri Jun 18, 2010 10:39 am    Post subject: Use of BNO Instruction in Assembler
Reply with quote

WHAT IS THE USE OF BNO INSTRUCTION IN ASSEMBLER ...........
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 18, 2010 11:12 am    Post subject:
Reply with quote

BNO = branch if not ones

used for bit testing, e.g. :

Code:

TM    0(R7),X'80'             LAST PARM PTR PRESENT ?
BNO   PARMERR
Back to top
View user's profile Send private message
karthikramaiah

New User


Joined: 25 Jun 2010
Posts: 9
Location: chennai

PostPosted: Tue Jun 29, 2010 5:42 pm    Post subject:
Reply with quote

as given in the code the Test under mask sets a condition code.
it usuallyseyts decimal 0 or1 or3. now assume these decimals in binary. if there is no 1's in the condition code it will branch[/i][/b]
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: Tue Jun 29, 2010 6:19 pm    Post subject: Reply to: Use of BNO Instruction in Assembler
Reply with quote

To be precise, BNO is not an instruction, but rather a Mnemonic, which represents a 4-Bit Condition Code, which is tested after an instruction, such as a "TM". Without using the Mnemonic, this particular CC would be 14.

Code:

         BC    14,NOTONES

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 A not very Christmassy PL/I tale, wit... prino PL/I & Assembler 3 Mon Dec 26, 2016 1:01 am
No new posts Online Assembler Program Starting point Aditya.Srivastava PL/I & Assembler 4 Fri Jul 08, 2016 6:48 pm
This topic is locked: you cannot edit posts or make replies. MVS Assembler profiles for Pune Locat... shailesh_do Mainframe Jobs 0 Mon Feb 22, 2016 6:21 pm
No new posts ASRA abend calling Assembler from CICS surya8 PL/I & Assembler 13 Thu Sep 10, 2015 7:50 pm
No new posts Is Enterprise PL/I v4.2 compatible wi... sundarkudos PL/I & Assembler 2 Wed Aug 19, 2015 11:15 pm


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