Electronic Components Datasheet Search
  English  ▼

X  

AS3661 Datasheet(PDF) 79 Page - ams AG

Part # AS3661
Description  Programmable 9-channel LED Dr iver
PDF  87 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AMSCO [ams AG]
Direct Link  http://www.ams.com
Logo AMSCO - ams AG

AS3661 Datasheet(HTML) 79 Page - ams AG

Back Button AS3661 Datasheet HTML 75Page - ams AG AS3661 Datasheet HTML 76Page - ams AG AS3661 Datasheet HTML 77Page - ams AG AS3661 Datasheet HTML 78Page - ams AG AS3661 Datasheet HTML 79Page - ams AG AS3661 Datasheet HTML 80Page - ams AG AS3661 Datasheet HTML 81Page - ams AG AS3661 Datasheet HTML 82Page - ams AG AS3661 Datasheet HTML 83Page - ams AG Next Button
Zoom Inzoom in Zoom Outzoom out
 79 / 87 page
background image
www.austriamicrosystems.com
Revision 1.3
78 - 85
AS3661
Datasheet - D e t a i l e d D e s c r i p t i o n
8.15 Arithmetic Instructions
8.15.1 LD
This instruction is used to assign a value into a variable; the previous value in that variable is overwritten. Each of the
engines have two local variables, called A and B. The variable C is a global variable which is shared with all three
program execution engines.
COMPILER COMMAND SYNTAX: LD, Target Variable[2];
8.15.1.1 LD Application Example
In this example we want to load variable B with a value of 100;
COMPILER COMMAND SYNTAX EXAMPLE: LD, 1, 100;
8.15.2 ADD (Numerical Operands)
Operator either adds the 8-bit value to the current value of the target variable.
COMPILER COMMAND SYNTAX: ADN, Target Variable,[2], 8-Bit value[8];
8.15.2.1 ADN Application Example
In this example we would like to add a value of100 d to variable ‘A’, which is loaded with a value of 10d. The result of
the operation is 110d stored in variable ‘A’.
COMPILER COMMAND SYNTAX EXAMPLE: ADN, 0, 100;
8.15.3 ADD (Variables)
This command adds the value of the variable 1 (A, B, C or D) to the value of the variable 2 (A, B, C or D) and stores the
result in the register of variable A, B or C which is defined as target variable. Variables overflow from 255 to 0.
Table 91. LD Parameter Description
Name
Value
Description
Target Variable
0-2
0
variable A
1
variable B
2
variable C
8-bit value
0-255
variable value
Table 92. ADN Parameter Description
Name
Value
Description
8-bit value
0-255
Variable value
Target Variable
0-2
0
variable A
1
variable B
2
variable C
Variable1
0-3
0
local variable A
1
local variable B
2
global variable
C3
register address 3CH variable, or register address 42H value
Variable2
0-3
0
local variable A
1
local variable B
2
global variable
C3
register address 3CH variable, or register address 42H value



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com