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

Use of BNO Instruction in Assembler


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Jun 18, 2010 11:12 am
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Tue Jun 29, 2010 6:19 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts How Can I Recall a Migrated Data Set ... PL/I & Assembler 3
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
No new posts Getting SOC4 while calling a Cobol DB... PL/I & Assembler 4
Search our Forums:

Back to Top