| Week |
Date |
Subject |
Readings & Assignments |
Due |
| 1 |
Jan 13 |
Number Systems
Hex and binary operations
Main storage organization
Overflow |
Text - §§1.1 - 1.8
Notes - Ch 1: Syllabus
Notes - Ch 6: Overflow
|
|
| 2 |
Jan 20 |
Lab Training
Registers and addressing
Program organization
| Basic assembler instructions: |
CSECT - Identify Control Section |
| |
DS - Reserve an area of storage |
| |
DC - Reserve storage |
| |
assign initial value |
| |
END - End Assembly |
| RR and RX instructions: |
A, AR - Add |
| |
S, SR - Subtract |
| |
L, LR - Load |
| |
ST - Store |
| X Instructions: |
XDUMP - Dump registers & storage |
Implicit addressing
Monday, January 20 -- No Class - Martin Luther King Jr Day
|
Text - §§1.9; 2.1 - 2.5; 2.9 (pp 52-3)
Notes - Ch 2: Assist JCL
Notes - Ch 7: Fixed-point Examples
Sample Dump
|
HW 1 |
| 3 |
Jan 27 |
| RR and RX instructions: |
C, CR - Compare |
| |
BC, BCR - Branch on Condition |
| X Instructions: |
XREAD - Read a record |
| |
XPRNT - Print a line |
| |
XDECI - Decimal Input |
| |
XDECO - Decimal Output |
|
Text - §§2.6 - 2.8; 4.1 - 4.2
Text - Chapters 11 and 12 Notes - Ch 3: Documentation Standards
Notes - Ch 4: Structured Pseudocode
Notes - Ch 8: Decimal Conversion
Notes - Ch 11: Dump Contents
|
PGM 1 |
| 4 |
Feb 3 |
The Program Status Word (PSW)
| RR and RX instructions: |
LTR - Load and Test |
| |
LPR - Load Positive |
| |
LNR - Load Negative |
| |
LCR - Load Complement |
| |
M, MR - Multiply |
| |
D, DR - Divide |
| |
LA - Load Address |
Literals
| Assembler Instructions: |
EQU - Assign a value to a symbol |
| |
Extended Branch mnemonics |
| |
LTORG - Define Literal Pool Origin |
Table processing |
Text - §§2.9 - 2.13 Notes - Ch 9: A Complete Program
Notes - Ch 10: Load Address
OpCode Map
|
HW 2 PGM 2 |
| 5 |
Feb 10 |
| RR, RX, and RS Instructions: |
BCT, BCTR - Branch on Count |
| |
BAL, BALR - Branch and Link |
| |
STM - Store Multiple |
| |
LM - Load Multiple |
Internal Subroutines
More on table processing
Address data
Parameter lists |
Text - §§3.2, 3.4 - 3.6 Notes - Ch 5: Debugging Tips
|
PGM 3 |
| 6 |
Feb 17 |
Finish internal subroutines
Sorting tables
First Exam:
|
Text- §3.4
|
HW 3 |
| 7 |
Feb 24 |
| SI and SS Instructions: |
MVI,
MVC - Move |
| |
CLI, CLC - Compare |
Referencing the location counter
| Assembler Instruction: |
ORG - Alter Location Counter |
Merging tables
Introduce decimal arithmetic
Decimal and zoned numbers
P, Z, and X data |
Text- §§4.3 - 4.6; 5.1 Notes - Ch 12: ORG Instruction
|
PGM 4 |
| 8 |
Mar 3 |
| Conversion Instructions: |
PACK - Zoned to Decimal [SS] |
| |
UNPK - Decimal to Zoned [SS] |
| |
CVB - Decimal to Binary [RX] |
| |
CVD - Binary to Decimal [RX] |
| Decimal SS Instructions: |
AP - Add Decimal |
| |
SP - Subtract Decimal |
| |
ZAP - Zero and Add |
| |
CP - Compare Decimal |
| |
MP - Multiply Decimal |
| |
DP - Divide Decimal |
| |
SRP - Shift and Round Decimal |
|
Text- §§5.2 - 5.5; 5.7
Notes - Ch 13: Decimal Examples
|
PGM 5 |
| |
Mar 10 |
Spring Break |
|
|
| 9 |
Mar 17 |
| Decimal SS Instructions: |
ED - Edit |
| |
EDMK - Edit and Mark |
Introduce external subroutines |
Text- §§5.6; 5.8 - 5.9; 6.1 - 6.2 |
PGM 6 |
| 10 |
Mar 24 |
More on external subroutines
Standard linkage conventions
Passing parameters
| Assembler Instruction: |
CNOP - Conditional No-Op |
Invoking external subroutines |
Text- §§6.2 - 6.3
Notes - Ch 14: External Routines
|
PGM 7 |
| 11 |
Mar 31 |
Finish external subroutines
Extending the USING Instruction
| Assembler Instruction: |
USING - Specify Base Address and Register(s) |
Table building and searching using hashing
Second Exam
|
Text- §6.5
Notes - Ch 15: USING Tutorial
|
|
| 12 |
Apr 7 |
| Logical Instructions: |
N, NR, NI, NC - And |
| |
O, OR, OI, OC - Or |
| |
X, XR, XI, XC - Exclusive Or |
| Shift Instructions: |
SLL - Shift Left Single Logical |
| |
SLDL - Shift Left Double Logical |
| |
SRL - Shift Right Single Logical |
| |
SRDL - Shift Right Double Logical |
| |
SLA - Shift Left Single Arithmetic |
| |
SLDA - Shift Left Double |
| |
SRA - Shift Right Single |
| |
SRDA - Shift Right Double |
| Other Instructions: |
IC - Insert Character |
| |
STC - Store Character |
| |
CLM - Compare Logical Characters Under Mask |
| |
ICM - Insert Characters Under Mask |
| |
STCM - Store Characters Under Mask |
| |
TM - Test Under Mask |
Bit manipulation |
Text- §3.1, §§8.1 - 8.4, §8.6
|
PGM 8 |
| 13 |
Apr 14 |
| Halfword Instructions (RX): |
LH - Load Halfword |
| |
STH - Store Halfword |
| |
AH - Add Halfword |
| |
SH - Subtract Halfword |
| |
CH - Compare Halfword |
| |
MH - Multiply Halfword |
| Translate Instructions (SS): |
TR - Translate |
| |
TRT - Translate and Test |
| |
EX - Execute |
Introduce macro instructions |
Text- §8.5, §§8.7 - 8.8; 9.1 - 9.2
Notes - Ch 18: TRT & EX Examples |
PGM 9 |
| 14 |
Apr 21 |
| Macro Language Instructions: |
MACRO - Macro Header |
| |
MEND - Macro Trailer |
| |
MEXIT - Macro Exit |
| |
MNOTE - Macro Note |
| |
Prototype and model statements |
| |
Symbolic Parameters |
| |
&SYSNDX |
How to write macros
sublists
Conditional assembly
SET symbols
declaring and assigning values
Sequence symbols and branching in macros
Attributes (T', K', N')
|
Text- Chapter 9
Notes - Ch 19: Macro Instructions
|
PGM 10 |
| 15 |
Apr 28 |
Subscripted SET symbols
Substring notation
| System variable symbols: |
&SYSDATE |
| |
&SYSTIME |
| |
&SYSECT |
| |
&SYSLIST |
Review for final exam
Friday, May 2 -- No class -- Reading Day |
Text- Chapter 9 |
PGM 11 |
| 16 |
May 5 |
Finals week - comprehensive final exam
|
|
|