DL205 User Manual, 4th Edition, Rev. D
5-119
Chapter 5: Standard RLL Instructions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A
B
C
D
Multiply Binary Top of Stack (MULBS)
Multiply Binary Top of Stack is a 16-bit instruction that
multiplies the 16-bit binary value in the first level of
the accumulator stack by the 16-bit binary value in the
accumulator. The result resides in the accumulator and can
be 32 bits (8 digits maximum). The value in the first level of
the accumulator stack is removed, and all stack locations are
moved up one level.
NOTE: Status flags are valid only until another instruction uses the same flag.
In the following example, when X1 is on, the Load instruction moves the value in V1400
into the accumulator. The value in V1420 is loaded into the accumulator using the Load
instruction, pushing the value previously loaded in the accumulator onto the stack. The binary
value in the accumulator stack’s first level is multiplied by the binary value in the accumulator
using the Multiply Binary Stack instruction. The Out Double instruction copies the value in
the accumulator to V1500 and V1501.
230
240
250-1
260
MULBS
Discrete Bit Flags Description
SP63 On when the result of the instruction causes the value in the accumulator to be zero
SP70 On anytime the value in the accumulator is negative
LD
V1400
X1
Load thevalue in V1400 into
theaccumulator
LD
V1420
Load thevalue in V1420 into
theaccumulator
OUTD
V1500
Copy thevalue in the
accumulatortoV1500
and V1501
XXXX