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

How NOPR works and how this is different from CNOP


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sheersh

New User


Joined: 24 May 2008
Posts: 17
Location: Gurgaon

PostPosted: Wed Jun 04, 2008 12:16 am
Reply with quote

I saw in some code...

NOPR R0

To ensure boundary allignment....I know CNOP can be used for the same purpose, Please advise how NOPR works and how this is different from CNOP?

Thanks
Sheersh
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jun 04, 2008 12:26 am
Reply with quote

Quote:
Please advise how NOPR works and how this is different from CNOP


NOPR is an instruction that gets generated unconditionally

CNOP depending on the alignment requested and the value of the current location counter
will generate the numper of NOPR 0 ( 0700 ) needed to fill the gap

here are the details
http://publib.boulder.ibm.com/infocenter/ratdevz/v7r1m1/index.jsp?topic=/com.ibm.ent.asm.zos.doc/topics/fn1lrmst115.htm
Back to top
View user's profile Send private message
sheersh

New User


Joined: 24 May 2008
Posts: 17
Location: Gurgaon

PostPosted: Wed Jun 04, 2008 12:55 am
Reply with quote

Thanks for such quick response....

If I've understood correctly....
(DS 0H) will do the same thing as single NOPR.
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 SARBCH PRINTJOB option not Works with... CA Products 4
No new posts How Adabas works in Mainframe Java & MQSeries 5
No new posts how omit works exacty??? JCL & VSAM 3
No new posts Mail through JCL works, but not sendi... JCL & VSAM 2
No new posts NEXT SENTENCE control flow works. COBOL Programming 17
Search our Forums:

Back to Top