CONTENTS
〔1〕Introduction to Computing = 1
1.1 Introduction = 1
Programming Systems = 2
Programming Languages = 3
1.2 Elements of Programming = 4
Elements of Problem Solving = 5
Self Evaluation Quiz = 12
〔2〕Computer Components, Data Formats, and Addressing = 13
2.1 IBM System/360 Components = 13
Stored Program Concept = 26
2.2 Data Representation in System 360 = 27
EBCDIC Data = 28
Packed Decimal Format = 30
Fixed Length Binary Data = 32
2.3 Addressing in System 360 = 34
Storage Addressing = 35
Displacement = 36
2.4 Symbolic Programming = 38
Symbolic Statement Format = 38
The Assembler Language = 40
Instruction Formats = 42
Character Set = 49
Coding Sheet = 49
Self Evaluation Quiz = 55
〔3〕Storage Allocation, Assembly Process = 57
3.1 Storage Allocation = 57
Subdefining of Storage Areas = 61
Constants = 64
3.2 Assembly Process = 73
Program Checkout = 79
Self Evaluation Quiz = 80
〔4〕Operating Systems, Macro and IOCS = 85
4.1 Operating Systems = 85
Processor Programs = 86
Control Programs = 86
System Service Programs = 87
4,2 Introduction to Macros = 88
Macro Instruction Format = 90
Input-Output Control System(IOCS) = 91
4.3 DTF Entries For Card, Printer, and Console Files = 93
Symbolic Unit Addressing = 94
Card File(DTFCD) = 95
Printer File (DTFPR) = 98
Console File DTFCN) = 100
IOCS Modules = 101
4.4 InputOutput Operations = 104
Imperative Macro Instructions = 104
Initialization = 105
Processing of Records = 105
Completion of Processing = 107
Buffering = 109
4.5 Designation and Loading of Base Registers = 114
Relocatability & Relocation = 120
Dummy Section = 123
Self Evaluation Quiz = 124
〔5〕Introduction to Data Movement and Branching = 125
5.1 Self-Defining Terms = 125
Decimal Self Defining Terms = 125
Hexadecimal Self Defining Terms = 125
Binary Self Defining Terms = 126
Character Self Defining Terms = 126
Instruction Execution and Branching = 126
Relative Addressing = 130
Introduction to Data Movement = 131
5.2 Branch Instruction = 140
Conditional Branch Instruction = 140
Unconditional Branches = 143
Branch and Link Instructions = 150
5.3 Decision Making Instructions = 153
Sequence Error Check = 158
Duplicate Record Check = 160
Self Evaluation Quiz = 161
〔6〕Binary Arithmetic = 167
6.1 Introduction to System 360 Arithmetic = 167
Data Formats = 167
Number Representation = 167
6.2 Data Format Conversion Instructions = 171
Removal of Zones = 183
6.3 Binary Add Instructions = 184
Algebraic Add Instructions = 184
Logical Add Instructions = 189
6.4 Binary Subtract Instructions = 191
Algebraic Subtract Instructions = 191
Logical Subtract Instructions = 194
6.5 Load and Store Instructions = 195
Load Instructions = 195
Store Instructions = 198
Self Evaluation Quiz = 206
〔7〕Form Control, Stacker Selection, and Editing = 209
7.1 Form Control = 209
Spacing = 216
Skipping = 216
7.2 Stacker Selection = 217
7.3 Editing Output = 219
Sign Control = 223
Multiple Field Editing = 229
〔8〕Bit Manipulation and Program Switches = 239
8.1 Bit Manipulation = 239
Use of Bit Manipulation Instructions = 248
8.2 Program Switches = 252
Self Evaluation Quiz = 260
〔9〕Binary Compares, Binary Multiplication and Division = 261
9.1 Binary Compares = 261
9.2 Binary Multiplication Instructions = 263
9.3 Shifting of Registers = 266
Algebraic Shift Instructions = 266
Logical Shift Instructions = 271
Multiplication and Division by Shifting = 273
9.4 Binary Divide Instructions = 274
Self Evaluation Quiz = 278
〔10〕Decimal Instructions = 283
10.1 Add Decimal, Subtract Decimal, and Zero and Add Instructions = 283
Decimal Point Alignment = 289
Rounding Off = 295
10.2 Decimal Multiplication and Division = 298
Division with Decimal Points = 302
Division and Multiplication by Shifting = 303
Packed Decimal vs Fixed-Point Arithmetic = 304
Self Evaluation Quiz = 305
〔11〕Literals, Extended Mnemonics and cc07
11.1 Literals and Literal Assignments = 307
Duplicate Literals = 309
Extended Mnemonics = 310
Address Constants = 312
A-Type Address Constants = 313
Y-Type Address Constants = 314
S-Type Address Constants = 315
11.2 LCR, LPR, LNR, IC, STC, EX and TR Instructions = 315
Application of Execute Instruction = 319
〔12〕Looping, Indexing and Table LookUps = 327
12.1 Looping = 327
Indexing = 332
Storage-to-Storage Indexing = 339
12.2 Table and Table LookUps = 341
Sequential Search = 342
Binary Search = 345
Self Evaluation Quiz = 347
〔13〕Subroutines and Program Linkage = 349
13.1 Subroutine Concept = 349
Subroutine Linkage = 349
Subroutine Communication Consideration = 357
Program Sectioning = 360
〔14〕Magnetic Tapes = 365
14.1 Introduction to Magnetic Tapes = 365
Blocked Records = 368
Tapes Labels = 371
14.2 DTF Entries for Tape Files (DTFMT) = 374
Initialization of Tape Files = 381
Processing of Blocked and Unblocked Records = 382
Completion = 385
Creating a Tape File = 388
Processing a Tape File = 389
〔15〕Tape File Updating = 393
15.1 Tape Update = 393
Deletion of Records = 397
Addition of Records = 400
Complete Tape File Update = 400
〔16〕Direct Access Storage Devices (DASD) = 405
16.1 Introduction to Direct Access Storage Devices = 405
Recording of Data = 106
Cylinder Concept = 410
Track Format = 411
Record Formats = 416
File Organization Methods = 420
DASD Labels = 422
16.2 Sequential Processing of DASD Files = 423
DTFSD Macro = 424
16.3 Indexed Access Method-ISAM = 429
Record Characteristics and Types = 429
Indexes = 432
DTFIS Macro = 439
Creating or Extending an Indexed Sequential File = 445
Macros for Adding Records = 446
Deletion of Records = 447
Random Processing of Indexed Sequential File = 447
Sequential Processing Indexed Sequential File = 448
〔17〕Physical IOCS and Tape Work Files = 453
17.1 Processing with Physical IOCS = 456
Manipulation of CCW Flag Bits = 457
Processing Tape Files Using Physical IOCS = 459
17.2 Tape Work Files = 461
APPENDIX 1 = 467
Automatic Interrupt System = 467
Program Status Word = 467
Interrupt Action = 469
Masking of Interrupts = 472
APPENDIX 2 = 474
Job Control Statements (DOS) = 474
APPENDIX 3 = 480
Assembler Listing Description = 480
External Symbol Dictionary = 480
Source and Object Program = 482
Relocation Dictionary = 483
Cross Reference = 483
Diagnostics = 484
APPENDIX 4 = 486
Number System = 486
Binary Number System = 487
Hexadecimal Number System = 490
Binary Action = 496
Binary Subtraction = 497
Hexadecimal Action and Subtraction = 498
Self Evaluation Quiz = 499
APPENDIX 5 = 501
Standard Tape File Label = 501
Standard DASD File Label Format 1 = 504
Standard DASD File Label Format 2 = 512
Standard DASD File Label Format 3 = 517
Standard DASD File Label Format 4 = 519
APPENDIX 6 = 523
Standard Instruction Set = 523
Decimal Feature Instructions = 525
Basic Instruction Formats = 526
Characteristics for Constants = 527
Extended Mnemonic Instructions = 527
Condition Codes = 528
Hexadecimal and Decimal Conversion Table = 530
Power of 2 and Power of 16 Tables = 530
APPENDIX 7 = 531
Flowcharting Symbols = 531
Converting Doubleword Binary Number to Decimal = 533
APPENDIX 8 = 534
Introduction to IBM System/370 = 534
The 3330 Disk Drive = 536
The 2305 Fixed Head Storage Module = 539
The 3211 Printer = 542
System/370 Expanded Instruction Set = 542
INDEX = 545