you are here : home/Introduction to TPF Assembler Programming

Home    |    About Us    |    Contact Us    |    Links   |    Customers 


Introduction to z/TPF Assembler Programming

This 15 day course is designed as part of the complete TPF Training curriculum to enable personnel with no prior programming experience to code, assemble, debug and run Z/Series Assembler programs for z/TPF. The course consists of an introduction to addressing, z/Series architecture, the assembly process, instruction formats and covers the basic set of assembly instructions needed by the application programmer.

The updated z/Series class includes many of the new 64 bit instructions as well as practical sessions covering Baseless programs and 64 Bit Programs.

Throughout the course lectures are interspersed with practical sessions during which the student will write a number of simple programs, which can be tested, debugged and run on a suitable test system.

If you require information on the instructions actually covered during the training please contact us through email

We also have available a 12 day version of this class for S/390 systems if you have not yet migrated to z/Series as well as conversion classes to cover the new format instructions for experienced staff.

Students who are new to programming should attend the Data Processing Fundamentals class or have experience of working with hexadecimal/binary numbering systems, and know the relevant subdivisions of main storage (byte, halfword, fullword, doubleword).

Programmers who are required to code in z/Series Assembler on a day-to-day basis.

Student Numbers
The maximum recommended student to instructor ratio is 12:1

By completion of the course, the delegates will be able, with the aid of course notes to:

With the aid of course notes, write, assemble, test, debug and run simple
assembler programs.
Code programs in a structured manner using subroutines where appropriate.
Translate machine code into its symbolic equivalent and convert source code into
object code.

Course Outline


Course Overview
Instruction Format
Symbolic code
Condition Codes
Machine code
Understanding the PSW


Base and Displacement
Addressing Modes – 31 vs 64

The Assembly Process

Using Statements
Listing Control

Data Definition

Different types of Data
DC statements
DS statements
ORG statement
EQU statement

Load instructions

Loading from Storage/Registers using both 31 bit and 64 bit instructions.
Loading using Logical Instructions

Store instructions

Storing data into memory

Move instructions

Moving data in memory in various formats

Compare instructions

Comparing data in Registers and storage

Branch instructions

Branch on Condition

Binary Arithmetic


Algebraic shifts

Algebraic shifting of data in register(s)

Logical shifts

Logical shifting of data in register(s)


Branching and saving


Branch by Location or Register, decrementing registers

Testing Bits

Using variety of Test Under Mask instructions

Bit Manipulation

Manipulating bits using AND, OR and EXCLUSIVE OR

Data Conversion

Converting from/to EBCDIC, Packed and Binary

Decimal Arithmetic

Arithmetic using Packed Decimal instructions


Instructions that don’t fit into any other area such as Search String, Edit, Translate and Translate and Test.



back to top by Cold Blaze Design 2000. All rights reserved.