3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
3-25
3.6 Numerical List of Instructions
Loop Control
Mnemonic
Availability
STEPS
API
16 bits
32 bits
P
Function
PB
B-PB
PC
PA
PH
M-PH
M-PA
PV
16
32
00 CJ
-
Conditional Jump
3
-
01 CALL
-
Call Subroutine
3
-
02 SRET
-
- Subroutine
Return
1
-
03 IRET
-
- Interrupt
Return
1
-
04 EI
-
- Enable
Interrupt
1
-
05 DI
-
- Disable
Interrupt
1
-
06 FEND
-
- Terminate the main routine program
1
-
07 WDT
-
Reset the Watchdog Timer
1
-
08 FOR
-
- Loop
Begin
3
-
09 NEXT
-
- Loop
End
1
-
Transmission Comparison
Mnemonic
Availability
STEPS
API
16 bits
32 bits
P
Function
PB
B-PB
PC
PA
PH
M-PH
M-PA
PV
16 32
10 CMP DCMP
Compare
7 13
11 ZCP DZCP
Zone Compare
9 17
12 MOV DMOV
Move
5 9
13 SMOV
-
Shift Move
-
11 -
14 CML DCML
Compliment and Move
5 9
15 BMOV
-
Block Move
7 -
16 FMOV DFMOV Fill and Move
7 13
17 XCH DXCH
Data Exchange
5 9
18 BCD DBCD
Convert BIN to BCD
5 9
19 BIN
DBIN
Convert BCD to BIN
5 9
Four Fundamental Operations Arithmetic
Mnemonic
Availability
STEPS
API
16 bits
32 bits
P
Function
PB
B-PB
PC
PA
PH
M-PH
M-PA
PV
16 32
20 ADD DADD
Addition
7 13
21 SUB DSUB
Subtraction
7 13
22 MUL DMUL
Multiplication
7 13
23 DIV
DDIV
Division
7 13
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...