| Electronic Components Datasheet Search |
|
ATAR092 Datasheet(PDF) 5 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATAR092 Datasheet(HTML) 5 Page - ATMEL Corporation |
|
5 / 107 page ![]() 5 4535E–4BMCU–05/07 ATAR092/ATAR892 4.2.2.2 Return Stack The 12-bit wide return stack is addressed by the return stack pointer (RP). It is used for storing return addresses of subroutines, interrupt routines and for keeping loop index counts. The return stack can also be used as a temporary storage area. The MARC4 instruction set supports the exchange of data between the top elements of the expression stack and the return stack. The two stacks within the RAM have a user definable location and maximum depth. Figure 4-3. RAM Map 4.2.3 Registers The MARC4 controller has seven programmable registers and one condition code register. They are shown in the following programming model. 4.2.3.1 Program Counter (PC) The program counter is a 12-bit register which contains the address of the next instruction to be fetched from the ROM. Instructions currently being executed are decoded in the instruction decoder to determine the internal micro-operations. For linear code (no calls or branches) the program counter is incremented with every instruction cycle. If a branch-, call-, return-instruction or an interrupt is executed, the program counter is loaded with a new address. The program counter is also used with the table instruction to fetch 8-bit wide ROM constants. RAM FCh 00h Autosleep FFh 03h 04h X Y SP RP TOS-1 Expression Stack Return Stack Global Variables Global Variables 07h (256 x 4-bit) 12-bit 4-bit TOS TOS-1 TOS-2 SP Expression Stack Return Stack 0 11 30 RP |
|
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 |