This course runs for a duration of 5 Days.
The class will run daily from 10 AM ET to 5 PM ET.
Class Location: Virtual LIVE Instructor Led - Virtual Live Classroom.
Programming concepts for mainframe, instruction formats, basic program structure, describing data, defining constants and storage areas, file accessing techniques, compares, branches, linkages, record processing, packed decimal, redefining storage, data structures, introduction to debugging, editing packed decimal data, immediate instructions, binary integer data, logical arithmetic, literals, loop control, table processing, multiple base registers, DSECTs, bit manipulation, shift instructions, string manipulation.
Objectives
At the end of this course, students will be able to:
• Code a program in Assembler language that uses the following techniques:
• Document the program listing with comments to assist in maintenance and understanding of the code
• Debug the resulting code of program-check type errors
Fundamentals
A. Programming
B. Concepts
C. Source, Object, and Load Modules
D. Memory and Data Representation
E. Addresses
F. The CPU
G. Computer Exercise: Setting Up For Programming
Machine Instruction Formats
A. Base / Displacement Addresses
B. Assembler Language and the High Level Assembler (HLASM)
C. Basic Program Structure Requirements
D. Computer Exercise: Coding, Assembling, Linking, Running
Data Description, Moving Data, Record Processing
Compares, Branches, and Linkages
More on Addressability
Packed Decimal Arithmetic
A. Zoned Decimal Format
B. Packed Decimal Format
C. DC and DS for Zoned and Packed Type Data
D. Packed Decimal Instruction Set: PACK, UNPK, ZAP, CP, AP, SP, MP, DP
E. Arithmetic Concerns: Significant digits and Keeping Track of Decimal Points
F. Computer Exercise: Packed Decimal Calculations
More Assembler and Arithmetic Concepts
A. Redefining Storage
B. Creating Data Structures
C. The Assembly Listing Components
D. Assembly Listing Control
E. Introduction to Debugging Rounding
F. MVO - Move With Offset
G. SRP - Shift and Round Packed
H. SRP vs MVO
I. Computer Exercise: Half-Adjusting Data
Editing Packed Decimal Fields
A. DS / DC for Hexadecimal Data
B. "ED" Instruction
C. Edit Patterns
D. Computer Exercise: Edit Packed Decimal Data
A Deeper Look at Instruction Formats
A. DC / DS for Binary Data Type
B. Addresses in Instructions
C. Tables
D. LA Instruction
E. Instruction Formats (SS, RR, RX)
F. MVI, CLI Instructions
G. Instruction Formats (SI)
H. MVN, MVZ Instructions
I. Computer Exercise: Using Immediate Instructions
Binary Integer Data
A. Binary Integer Data Formats
B. Two's Complement
C. DC/DS for Fullword, Halfword, and Doubleword Binary Data
D. Boundary Alignment
E. CVB, CVD Instructions
F. L, LR, ST Instructions
G. A, AR, S, SR, C, CR, MR, M, DR, D Instructions
H. Concerns Of Working With Binary Integers
I. Working With Binary Numbers - An Example
J. Computer Exercise: Binary Arithmetic Computations
More Binary Instructions
A. Compare Instrucions
B. LPR, LNR, LCR Instructions
C. "Logical Arithmetic": AL, ALR, CL, CLR, SL, SLR
D. Halfword Instructions: AH, CH, LH, MH, SH, STH
EDMK
A. EDMK Instruction
B. Computer Exercise: Floating Dollar Sign
Loops and Tables
A. Literals
B. LTORG
C. Address Constants
D. EQU - Equate Symbol
E. Loop Control
F. Tables
G. BCT, BCTR, BXLE, BXH, IC, STC
H. Computer Exercise: Table Processing
Multiple base registers, DSECTS, ORG
A. STM, LM
B. Multiple Base Registers
C. CNOP
D. Dummy Sections - DSECTs
E. ORG
F. Computer Exercise: Using DSECTs
Working With Bits
A. STM, LM
B. Multiple Base Registers
C. CNOP
D. Dummy Sections - DSECTs
E. ORG
F. Computer Exercise: Using DSECTs
Shift Instructions
A. SRL, SRA, SLL, SLA, SRDL, SRDA, SLDL, SLDA Instructions
B. Translate
C. Instruction Set: TR
D. Code Fragments: Display Hex String and Direct Access to a Table
E. Computer Exercise: Build a Table Dynamically
TRT and EX
A. TRT - Translate and Test
B. EX - Execute
C. TRT and EX
Strings
A. ICM, CLM, STCM Instructions
B. MVCL, CLCL MVCIN Instructions
Setting Addressing Mode
A. Addressing Mode
B. AMODE and RMODE
C. BASSM - Branch And Save And Set Mode
D. BSM - Branch and Set Mode
E. Getting your thoughts together: strategies in code design