Final Exam Review Sheet
This review sheet is primarily for section 1. Other sections
may or may not cover the same material.
Standard Entry/Exit Linkage
- Know what registers 1, 13, 14, and 15 contain on entry to a routine
before/after entry linkage is executed
- Know where register values are saved
- Know what each line of standard entry/exit linkage does
- Know which registers are used for passing values back to calling
routines
- Know the size of the register save area
Logical Instructions
- Know the result of ANDing, ORing, XORing with 1
- Know the result of ANDing, ORing, XORing with 0
- Be able to code an instruction that will set bits of a single byte
to 0, 1 or the opposite value
- Be able to code an instruction(s) that will swap the contents of
two fields in storage without using a temporary storage area
- Be able to code an instruction that will initialize a field in
storage or a register to 0
Shift Instructions
- Know the difference between the logical and arithmetic shifts
- Know which can be used for multiplying and dividing by powers of 2
- Be able to code either the single or double shifts in either direction
TM instruction
- Be able to code an instruction that will test specific bits
TR, TRT & EX instructions
- Know what they are used for and how they work
- Know which register(s) might be altered
- Be able to code a translate/scan table that can be used by TR/TRT
- Be able to process a variable length field using EX
Additional Character Instructions (IC, STC, ...)
- Know how they work
- Be able to code any of the instructions
Halfword Instructions
- Know how they work
- Be able to code any of the instructions
Macros
- Know how to declare and alter the value of macro SET variables
- Know the initial values for each type of SET variable
- Know the difference between local and global SET variables
- Know what the conditional assembly instructions are equivalent to
in an ASSEMBLER program
- Know the difference between variable and sequence symbols
- Know the difference between positional and keyword parameters
- When given a macro, know what will be produced when it expands
- Know the difference between * and .*
- Be able to code one
Dump Reading
- Be able to find the condition code, length of abending instruction,
address of abending instruction, address of the instruction that would
have been executed next, the actual abending instruction (in both object
code and explicit assembler), etc...
"Old Stuff"
- Don't forget the old instructions (L, ST, SR, LA, etc…)
- Don't forget the material concerning packed and zoned data and
instructions
- Be able to initialize a register to 0 without using a literal or
any other storage area
- Know the number of bits in a byte, bytes in a fullword, etc...
- Know which side numeric and character constants are padded/truncated
on and what they are padded with (page 19 of yellow card)
- Be able to code a simple read loop
- Be able to calculate the hexadecimal representation of a positive/negative
number