Download Print this page

Singer SYSTEM TEN Reference Manual page 40

Small-business computer

Advertisement

MOVE NUMERIC INSTRUCTION
PROGRAMMING HINTS
Move Numeric VS Move Character
Overlapping Operands
10-3
The Move
Numeric
instruction
is
similar
to
the
Move
Character
instruction.
The Move Numeric instruction will
extract and copy only the numeric portion
of
a
character
(leaving
the
zone
bits
unchanged)~
the
Move Character
instruction will copy an entire
character
including
both
numeric and zone portions.
If
Operand-A
and Operand-B do not overlap, then Operand-A
is unchanged by the Move Numeric instruction.
To shift the Operand-A numeric field one or more
positions
to
the
left (to a lower machine address) the Move Numeric
instruction-can be used when the operands over-lap
if
the
Operand-B
address
is
not
greater
than
the
Operand-A
address.
The unlapped positions of Operand-A and all
zone
bits in both operands will be unchanged.
To propagate a given digit throughout a data field, put the
digit
into the leftmost position of the field, and use the
Move Numeric instruction as follows:
Operand-A address is the address of the data field.
Operand-B address is the address of the data field + 1.
Operand length must be 1 less than the data field
length.
The Move Numeric
instruction
enables
the
programmer
to
change
the
numeric
portions of instructions.
If
is
most
frequently used in address modification (A and
B
fields).
It
is
also useful in varying the LA and/or LB fields.
524 - 700504 - M6
Copy",
GH
r
©
1970
FR1DlN
01 VI SION
THE
SINGER COMPANY

Advertisement

loading