Technical data
6.2 OB 110: Accessing the Condition Code Byte
Function
Using the special function organization block OB 110, you can write
the contents of ACCU 1 to the condition code register, or mask it with
"1" or "0".
Assignment of ACCU 1 for
access to the condition code
register
31 7654321 0
*) C 1 C 0 OV OS OR STA RLO
ERAB
Word displays Bit displays
*) Bits 8 to 31 are reserved for extensions and must be "0" when the condition code register is written to. They must also be ignored
when reading out the condition code register.
Parameters 1. ACCU-2-L:
Function number
possible values: 1, 2 or 3
2. ACCU 1 :
New condition code byte or mask
Function
no. in
ACCU-2-L
Contents of ACCU-1-L
F u n c t i o n
before after
1
2
3
New
condition
code byte
Mask
Mask
New
condition
code byte
New
condition
code byte
1)
New
condition
code byte
1)
The contents of ACCU 1 are loaded in the condition
code register.
All the bits indicated as "1" in the mask in ACCU 1 are set
to
"1" in the condition code register. The new
condition code byte is loaded in ACCU 1.
All the bits indicated as "1" in the mask in ACCU 1 are set
to
"0" in the condition code register. The new
condition code byte is loaded in ACCU 1.
1)
Restriction: OB 110 itself affects the condition code bits. It sets: OR = 0, STA = 1 and ERAB = 0, regardless of the
value specified for these bits in ACCU 1 before the OB was called.
6
OB 110: Accessing the Condition Code Byte
CPU 928B Programming Guide
C79000-B8576-C898-01
6 - 11