Zakładka z wyszukiwarką danych komponentów |
|
ADUC832BSZ Arkusz danych(PDF) 3 Page - Analog Devices |
|
ADUC832BSZ Arkusz danych(HTML) 3 Page - Analog Devices |
3 / 3 page 3 of 3 REV. B.1 November/2002 832_S03. EXTENDED (11-BIT) STACK POINTER - PUSH AND POP OPERATION ADuC832 Errata Sheet Backgound: The ADuC832 offers an extended (11-bit) stack pointer that allows the stack to extend into the 2 KBytes of internal XRAM. This can be very useful where embedded functions are used. Issue: If the extended stack pointer is enabled (CFG832.7=1) and the stack points to the extended stack space (SPH>=1) the the PUSH direct or POP direct instructions will not operate correctly if the direct address is less than 80H (i.e. not an SFR) Work-Around : Assembly Programming: By using the Accumulator the extended stack works correctly. e.g. To PUSH:MOV A,0 To POP: POP ACC PUSH ACC MOV 0,A C Programming (KEIL Compier): The KEIL Compiler only ever pushes (or pops) and SFR or any of the 32 registers (4 banks of 8 registers) onto the stack. Keil support a compiler directive that disables absolute register addressing (#pragma NOAREGS). Using this directive a PUSH/POP register will be automatically changed as above. #pragma NOAREGS int increment(int); void main(void) { int a,b,c; a=5; b=6; c=increment(a)+increment(b); while(1); } int increment(int a) { return(a+1); } Related Issues : none. |
Podobny numer części - ADUC832BSZ |
|
Podobny opis - ADUC832BSZ |
|
|
Link URL |
Polityka prywatności |
ALLDATASHEET.PL |
Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Linki | Lista producentów 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 |