86
Instruction Support and Operand Restrictions
Section 2-6
2-6-17 Subroutine Instructions
SCALING 2
SCL2
@SCL2
486
S: Source word
INT
---
P1: 1st parameter
word
WORD
Yes (3)
R: Result word
WORD
---
SCALING 3
SCL3
@SCL3
487
S: Source word
WORD
---
P1: 1st parameter
word
WORD
Yes (3)
R: Result word
INT
---
AVERAGE
AVG
195
S: Source word
UINT
---
N: Number of
cycles
UINT
---
R: Result word
UINT
Yes (not
fixed)
Instruction
Mnemonic
Function
code
Symbol
Operands
Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
SUBROUTINE CALL
SBS
@SBS
091
Not supported in func-
tion blocks
N: Subroutine num-
ber
---
---
SUBROUTINE
ENTRY
SBN
092
Not supported in func-
tion blocks
N: Subroutine num-
ber
---
---
SUBROUTINE
RETURN
RET
093
Not supported in func-
tion blocks
---
---
MACRO
MCRO
@MCRO
099
Not supported in func-
tion blocks
N: Subroutine num-
ber
---
---
S: 1st input param-
eter word
---
---
D: 1st output
parameter word
---
---
GLOBAL SUBROU-
TINE CALL
GSBS
@GSBS
750
Not supported in func-
tion blocks
N: Subroutine num-
ber
---
---
Instruction
Mnemonic
Function
code
Symbol
Operands
Supported
variable
data types
AT
setting or
array
variable
required
(Required
word data
size
shown in
parenthe-
ses.)
SCL2
S
P1
R
SCL3
S
P1
R
AVG
S
N
R
Содержание CS1-H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS...
Страница 15: ...xvi Application Precautions 4...
Страница 151: ...136 Procedures Section 3 2...
Страница 153: ...138 Data Types Appendix A...
Страница 177: ...162 External Variables Appendix C...
Страница 181: ...166 Revision History...