3.
4.
5.
If
the
pattern
byte is a field
separator
(X'22'), the fill
character
is stored in the pattern byte location. CC1,
CC3,
and CC4
are
all
reset to O's, and CC2 remains
unchanged.
If
the
pattern
byte
is not a
digit
selector,
significance
start,
immediate
significance
start,
or
field
separator,
one
of
the following
actions
are
performed:
Conditions
CC1=O
}
CC4=O
CC1=1 }
CC4=O
CC4=l
Action
Store fill
character
in pattern byte
location.
Store blank
character
(X'40') in
pattern
byte
location.
None
(pattern byte remains unchanged).
Increment the
destination
address in regi ster
Ru
1 and
decrement
the
count
in regi ster
Ru
1. If
the
count
is
sti
II nonzero, process the
next
pattern
byte
as above;
otherwise,
execute
the
next
instruction in
sequence.
Affected:
(R),(Ru1)
(register
1),
(OBS),
CC
Traps:
Nonexistentinstruc-
tion, decimal
arith-
metic, instruction
exception
edited
(SBS)
-OBS
Condition
code
settings:
o
2 3 4 Result
of
EBS
- 0
Significance
is not present, no sign
digit
has
been
encountered.
o Signifi
cance
is
present, no sign
digit
has been
encountered.
- 0 A positive sign has
been
encountered.
A
negative
sign has been
encountered.
- 0
Next
digit
to be processed is
leftdigitofbyte.
Nextdigit
to
be
processed is
rightdigitofbyte.
- 0
No
nonzero
digit
has been
encountered.
- A nonzero
digit
has been
encountered.
If
EBS
is
indirectly
addressed,
it
is
treated
as a nonexistent
instruction.
The
basic processor
unconditionally
aborts
execution
of
the instruction (at the time
of
operation
code
decoding) and traps to
location
X'40' with the contents
of
register
R,
register Rul, register 1, the destination byte
string, and the condition code unchanged.
The R field
of
the
EBS
instruction must be an even value
(excluding 0) for proper operation of the instruction;
if
the
94 Byte-String Instructions
R field
is
an odd value or equal to zero, the instruction
traps to location
X'40
'
, instruction
exception
trap.
If
an
i
"egal
digit
or
sign is
detected
in
the
decimal
infor-
mation
field,
the basic processor
unconditionally
aborts
execution
of
the instruction (at the time the i
"egal
digit
or
sign
is
encountered)
and traps to location X'45' with the
contents
of
register
R,
register
Ru1,
register 1, the
destina-
tion byte string, and the condition code
containing
the
re-
sults
of
the last
editing
operation performed before the
illegal
digit
or
sign was
encountered.
See "Traps
By
Byte-String Instructions
ll
(in this section)
for
other
trap conditions.
In
the following examples, the hexadecimal codes for the
digit
selector
(X
'
20'),
the
significance
start
(X'21'),
the
field separation (X'22'), and the immediate
significance
start
(X'23')
are
represented by the
character
groups ds,
ss, fs, and si,
respectively.
Also, the symbol
1:>
is used to
represent the
character
blank (X'40').
Note
that
code X'5C'
represents the
* symbol.
Example 1, before
execution:
The
instruction word is
X
'63600000'
The
contents
of
register 6
are:
X'5C000100
'
The contents
of
register 7
are:
X'OCOO1ooo'
The
contents
of
the decimal information field beginning
at
byte location X'100'
are:
0000000+
The
contents
of
the destination byte string beginning
at
byte
location X'lOOO'
are:
ds
ds , ds ds
ss
. ds ds
1:>
C R
The
condition code is:
0000
Example 1,
after
execution:
The
instruction word is unchanged.
The
new contents
of
register 6 are:
X'5C000104'