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

First Day Class (Assembler E-Learning Course)


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

New User


Joined: 31 Mar 2005
Posts: 16
Location: Bangalore

PostPosted: Mon Apr 18, 2005 3:34 pm
Reply with quote

Hi Friends,

This is the first day class...... (e-learn) Check every day..

HIGH LEVEL ASSEMBLER

INTRODUCTION:

ASSEMBLER is a symbolic programming language that lies closet to the machine language in form and contents. Therefore the assembler language is useful when

1) You need to control the program closely, down to byte and even bit level.
2) You must write subroutines for functions that are not provided by other symbolic languages like COBOL, PL/I

The assembler language is made up of statements that represents either instructions or comments. The instruction statements are working part of the language and are divided into the following three groups.

1) Machine Instructions : A machine instruction is a symbolic representation of machine language instructions. It is called a machine instruction because the assembler translate it into machine language code that the computer can run.
2) Assembler Instructions : An Assemble instruction is a request to assembler to do certain operations during the assembly of a source module. The assemble doesn't translate the assembler instructions into object code.
3) Macro Instructions : A macro instruction is a request to a assembler program to process a predefined sequence of instructions called macro definitions. From the definition assembler generates Machine and Assembler Instructions, which it then process as if they were part of original input in source module. IBM supplies some macro definitions for input/output, data management, supervisory operations that you can call for processing. You can prepare your own macro and call by coding corresponding macro instruction.


Assembling and Link-editing your Assembler Language Program

The Program written in Assembler Language becomes the source module that is input to the assembler. The assembler process the source module and produces an object module in machine language(called object code).The object module can be used as input to be processed by linker or binder. The linker or binder produces the load module which can be loaded into main storage later. When program is loaded then it can be run.

The source module, object code and other information are printed in program listings.

Processing Sequence

The Assembler process the machine and assembler instructions at different times during its processing sequence. The assemble processes most of the instructions twice, first during conditional assembly and later at assembly time.

Conditional Assembly and Macro Instructions:

The assembler process the conditional assembly instructions and macro processing instructions during conditional assembly. During the processing the assembler evaluates arithmetic, logical and character conditional assembly expressions. Conditional assembly takes place before assembly time.

The assembler processes the macro instructions at assembly time.


"Any suggestions are welcome"
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Mon Apr 18, 2005 5:20 pm
Reply with quote

Great work Ajay Chandra Reddy, Keep it up!!! : 36_8_12.gif
Back to top
View user's profile Send private message
prasannanjaneya
Warnings : 1

New User


Joined: 14 Mar 2005
Posts: 10
Location: pune

PostPosted: Mon Apr 25, 2005 4:40 pm
Reply with quote

hi,
can u please explain much more detail about processing sequence. i think this will comes at the time of compiling or like-editing. and please explain the operation of assembler in the system in detail.

thank u,
prasanna.
Back to top
View user's profile Send private message
sinusam

New User


Joined: 06 Jan 2004
Posts: 18

PostPosted: Thu Apr 28, 2005 12:15 pm
Reply with quote

HI ajay,

You have done great work by providing these much information.

I have a problem. I need to read and write a sequential file through Assembler (DSORG = PS).

I tried to do it with DCB macro..but lot of problems... please help me.

Regards,
Sinu
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Thu Apr 28, 2005 2:14 pm
Reply with quote

Start a new Topic...
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Thu Nov 17, 2005 2:50 pm
Reply with quote

Hmmm,

Great work..
I will definitely attend each days class.

thanks again.
Back to top
View user's profile Send private message
anandana10

New User


Joined: 29 Jul 2005
Posts: 3

PostPosted: Sat Dec 24, 2005 7:37 pm
Reply with quote

Hi Ajay,

Your article is of definely a great help for starters like me. Please could you tell if there is any simulator available for OS/390 for windows so that I could do some programs practically....

Thanks,

Anandana
Back to top
View user's profile Send private message
yogeshpawar

New User


Joined: 01 Mar 2006
Posts: 37
Location: Sussex-UK

PostPosted: Tue Apr 29, 2008 7:46 pm
Reply with quote

You can give a try for PC370 for assenbler programs which is good tool on desktop
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 building java class with zip4j.jar on... Java & MQSeries 0
No new posts Anyone has PL/I learning material PL/I & Assembler 2
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