EasyManuals Logo

Delta Electronics A10 User Manual

Delta Electronics A10
329 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #247 background imageLoading...
Page #247 background image
Chapter 4 Macro Function|ScrEdit Software User Manual
4-26 Revision Apr. 30th, 2007, 2007PDD23000002
SWAP
Swap BYTE Data of the WORD
Equation: SWAP (V1, V2, V3)
Swap high-byte and low-byte of V2, V2+1, V2+2…V2+V3 (WORD) and store the result in the
starting position of V1, V1+1, V1+2…V1+V3 in order.
Example:
SWAP($1, $10, 5)
Swap the high-byte and low-byte of $10, $11, …, $14 and store the result in $1, $2, …, $5 in order.
SWAP($2, $11, 1)
If $11 = 1234H, $2 = 3412H after executing SWAP command.
XCHG
Exchange Data
Equation: XCHG (V1, V2, V3)[(DW)]
Exchange the data of V2, V2+1, V2+2…V2+V3 and the data of V1, V1+1, V1+2.., V1+V3. The data
of V1 and V2 will be exchanged after executing XCHG command.
Example:
XCHG($1, $10, 5)
Exchange the data of $10, $11, …, $14 and the data of $1, $2, ..., $5 in order.
XCHG($2, $11, 1)
If $11 = 1234H and $2 = 5678H, $2 = 1234H and $1 = 5678H after executing XCHG command.
MAX
Get Maximum Value
Equation: V1 = MAX(V2, V3)
Get the maximum value from V2 and V3 and store the result in V1.
Example:
$1 = 2
$2 =10
$0 = MAX($1, $2)
The result is $0 = 10
MIN
Get Minimum Value
Equation: V1 = MIN(V2, V3)
Get the minimum value from V2 and V3 and store the result in V1.

Table of Contents

Other manuals for Delta Electronics A10

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta Electronics A10 and is the answer not in the manual?

Delta Electronics A10 Specifications

General IconGeneral
BrandDelta Electronics
ModelA10
CategoryMonitor
LanguageEnglish

Related product manuals