| Electronic Components Datasheet Search |
|
PS081 Datasheet(PDF) 129 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
PS081 Datasheet(HTML) 129 Page - ams AG |
|
129 / 155 page ![]() acam-messelectronic gmbh - Friedrich-List-Str.4 - D-76297 Stutensee-Blankenloch - Germany - www.acam.de 6-26 1 PSØ81 rollAvg Calculate rolling average Syntax: rollAvg p1,p2 Parameters: p1 = ACCU[x] p2 = number from 3 to 17 Calculus: ACCU[y] = ACCU[x] old p1 = rolling average result Flags affected: - Bytes: 2 Cycles: Subroutine call Description: Feeds p1 as new value into the rolling average subroutine. p2 defines the number of data points for the rolling average. The value falling out of the rolling average is stored on RAM address 13. The result is stored in the x ACCU. The previous result is stored in the y ACCU. In real a subroutine in the ROM code is called. The assembler converts this com- mand to the corresponding jump command. Category: Miscellaneous rotL Rotate left Syntax: rotL p1(,p2) Parameters: p1 = ACCU [x,y,z,r] p2 = 4-Bit number or none Calculus: p1 := p1<< 1+ carry; carry:=MSB(x) (in case rotL p1, without p2) p1 := repeat (p2) rotL p1 (in case rotL p1,p2) Flags affected: C O S Z (of the last step) Bytes: 1 (p1=ACCU, p2=none) 2 (p1=ACCU, p2=NUMBER) Cycles: 1 (p1=ACCU, p2=none) 1+p2 (p1=ACCU, p2=NUMBER) Description: Rotate p1 left --> shift p1 register to the left, fill LSB with carry, MSB is placed in carry register Rotate p1 left p2 times with carry --> shift p1 register p2 times to the left, in each step fill LSB with the carry and place the MSB in the carry Category: Shift and rotate Member of the ams Group |
|
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 |
| 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 |