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

Where can I find the basic Assembler Instructions from IBM?


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

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Wed Dec 01, 2010 8:03 am
Reply with quote

for below instance,
Code:
          WTO   'HELLO WORLD!'
+         CNOP  0,4
+         BAL   1,*+20
+         DC    AL2(16,0),C'HELLO WORLD!'
+         SVC   35


Where Can I find the usage of DC?

I don't quite understand how below instruction performs.
+ DC AL2(16,0),C'HELLO WORLD!'


Thanks for your advice.
Back to top
View user's profile Send private message
Ronald Burr

Active User


Joined: 22 Oct 2009
Posts: 293
Location: U.S.A.

PostPosted: Wed Dec 01, 2010 8:20 am
Reply with quote

Try this link: High Level Assembler - Language Reference
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 Dec 01, 2010 10:54 am
Reply with quote

Refer to the following sticky -

ibmmainframes.com/viewtopic.php?t=2744

Bill
Back to top
View user's profile Send private message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Wed Dec 01, 2010 6:17 pm
Reply with quote

Thanks.

It seems that Assembler is more complicated than advanced languages.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Wed Dec 01, 2010 6:34 pm
Reply with quote

Complication sometimes means just (a lot) more simple steps.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 01, 2010 7:01 pm
Reply with quote

Quote:
it seems that Assembler is more complicated than advanced languages.

did You ever try C ? looks like not icon_biggrin.gif
Back to top
View user's profile Send private message
Grant Goodale

New User


Joined: 13 Nov 2010
Posts: 67
Location: Brampton, Ontario, Canada

PostPosted: Wed Dec 01, 2010 7:22 pm
Reply with quote

I have heard it said that C is Assembler with an IF statement icon_lol.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Dec 01, 2010 7:24 pm
Reply with quote

the real thing that I cannot stand in C is the pointer arithmetics
( all the casting to be done to increment the way I want not the way that C wants really bothers me )
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 Dec 01, 2010 7:57 pm
Reply with quote

Grant Goodale wrote:
I have heard it said that C is Assembler with an IF statement icon_lol.gif

Grant,

I believe you've gone to the Dark Side? icon_eek.gif

Get out while you can icon_exclaim.gif

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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
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
Search our Forums:

Back to Top