Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How NOPR works and how this is different from CNOP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER
Author Message
sheersh

New User


Joined: 24 May 2008
Posts: 6
Location: Noida

PostPosted: Wed Jun 04, 2008 12:16 am    Post subject: How NOPR works and how this is different from CNOP
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
References
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 3277
Location: italy

PostPosted: Wed Jun 04, 2008 12:26 am    Post subject: Reply to: NOPR & CNOP???
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: 6
Location: Noida

PostPosted: Wed Jun 04, 2008 12:55 am    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & ASSEMBLER All times are GMT + 6 Hours
Page 1 of 1