Permanent Storage Assignment ADDRESS LENGTH PURPOSE o 0000 0000 double-word Initial program loading PSW 8 0000 1000 double-word Initial program loading CCW 1
160001 0000 double-word Initial program loading CCW2 24 00011000 double-word External old PSW 32 0010 0000 double-word Supervisor call old PSW 40 0010 1000 double-word Program old PSW 48 0011 0000 double-word Machine-check old PSW 56 0011 1000 double-word Input/output old PSW 64 01000000 double-word Channel status word
7201001000 word Channel address word
760100 1100 word Unused 80 0101 0000 word Timer
840101 0100 word Unused
880101 1000 double-word External new PSW 96 01100000 double-word Supervisor call new PSW 104 0110 1000 double-word Program new PSW 112 01110000 double-word Machine-check new PSW 120 0111 1000 double-word Input/output new PSW 128 1000 0000 Diagnostic scan-out area 0 o The size of the diagnostic scan-out area depends on the par
ticular model andI/O channels.
Condition Code Setting
Fixed-Point Arithmetic0 1 2 3
AddH/F zero < zero > zero overflow
Add Logical zero not zero zero, carry
carryCompare H/F equal low high
Load and Test zero < zero > zero
Load Complement zero < zero > zero overflow
Load Negative zero < zero
Load Positive zero > zero overflowShift Left Double zero < zero > zero overflow Shift Left Single zero < zero > zero overflow Shift Right Double zero < zero > zero Shift Right Single zero < zero > zero
Subtract H/F zero < zero > zero overflowSubtract Logical not zero zero, carry
carryDecimal Arithmetic
Add Decimal zero < zero > zero overflowCompare Decimal equal low high
Subtract Decimal zero < zero > zero overflowZero and Add zero < zero > zero overflow
Floating-Point Arithmetic
Add NormalizedS/L zero < zero > zero overflow
Add UnnormalizedS/L zero < zero > zero overflow Compare S/L equal low high
Load and TestS/L zero < zero > zero
Load ComplementS/L zero < zero > zero
Load NegativeS/L zero < zero
Load PositiveS/L zero > zero
Subtract
NormalizedS/L zero < zero > zero overflow
Subtract Unnorm-
alizedS/L zero < zero > zero overflow Logical Operaticlns AND zero not zero Compare Logical equal low high
Edit zero < zero > zero
Edit and Mark zero < zero > zero
ExclusiveOR zero not zero OR zero not zero
Test Under Mask zero mixed one
Translate and Test zero incomplete completeInput / Output Oillerations Halt I/O not halted stopped not oper
workingStart I/O available CSW busy not oper
stored
TestChannel not CSW working not oper
working ready
TestI/O available CSW working not oper
stored
CONDITIONCODE SETTING NOTES available Unit and channel available
busy Unit or chanel busy
carry A carry out of the sign position occurred
complete Last result byte nonzeroCSW ready Channel status word ready for test or interruption CSW stored Channel status word stored
equalOpe:rands compare equal
F Fullword
> zero Result is greater than zero
H Halfword
haltedData transmission stopped. Unit in halt-reset mode
high First operand compares high
incompleteNonzero result byte; not last
L Long precision
< zero Result is less than zero
low First operand compares low
mixed Selected bits are both zero and one
notopel' Unit or channel not operational
not working Unit or channel not working
not zero Result is not all zero
oneSelected bits are one
overflow Result overflowsS Short precision
stopped Data transmission stopped
working Unit or channel working
zero Result or selected bits are zero
The condition code also may be changed byLOAD PSW, SET SYSTEM MASK, DIAGNOSE, and by an interruption.
Appendix G 147
16
72
76
84
88
ticular model and
Condition Code Setting
Fixed-Point Arithmetic
AddH/F zero < zero > zero overflow
Add Logical zero not zero zero, carry
carry
Load and Test zero < zero > zero
Load Complement zero < zero > zero overflow
Load Negative zero < zero
Load Positive zero > zero overflow
Subtract H/F zero < zero > zero overflow
carry
Add Decimal zero < zero > zero overflow
Subtract Decimal zero < zero > zero overflow
Floating-Point Arithmetic
Add Normalized
Add Unnormalized
Load and Test
Load Complement
Load Negative
Load Positive
Subtract
Normalized
Subtract Unnorm-
alized
Edit zero < zero > zero
Edit and Mark zero < zero > zero
Exclusive
Test Under Mask zero mixed one
Translate and Test zero incomplete complete
working
stored
Test
working ready
Test
stored
CONDITION
busy Unit or chanel busy
carry A carry out of the sign position occurred
complete Last result byte nonzero
equal
F Fullword
> zero Result is greater than zero
H Halfword
halted
high First operand compares high
incomplete
L Long precision
< zero Result is less than zero
low First operand compares low
mixed Selected bits are both zero and one
not
not working Unit or channel not working
not zero Result is not all zero
one
overflow Result overflows
stopped Data transmission stopped
working Unit or channel working
zero Result or selected bits are zero
The condition code also may be changed by
Appendix G 147