Selectron LD-007 Bedienerhandbuch Seite 181

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 368
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 180
171
5-17-9 BCD MULTIPLY – MUL(32)
Md: Multiplicand (BCD)
IR, SR, AR, DM, HR, TC, LR, #
Mr: Multiplier (BCD)
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R: First result word
IR, AR, DM, HR LR
MUL(32)
Md
Mr
R
@MUL(32)
Md
Mr
R
When the execution condition is OFF, MUL(32) is not executed. When the
execution condition is ON, MUL(32) multiplies Md by the content of Mr, and
places the result In R and R+1.
Md
Mr
R +1 R
X
When IR 00000 is ON with the following program, the contents of IR 013 and
DM 0005 are multiplied and the result is placed in HR 07 and HR 08. Exam-
ple data and calculations are shown below the program.
MUL(32)
013
DM 0005
HR 07
00000
R+1: HR 08 R: HR 07
00083900
Md: IR 013
3356
Mr: DM 0005
0025
X
Address Instruction Operands
00000 LD 00000
00001 MUL(32)
013
DM 00005
HR 07
Flags ER: Md and/or Mr is not BCD.
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
CY: ON when there is a carry in the result.
EQ: ON when the result is 0.
Description
Example
BCD Calculations Section 5-17
Seitenansicht 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 367 368

Kommentare zu diesen Handbüchern

Keine Kommentare