OKW: приборные корпуса из Германии

Datasheet AT90S1200 (Atmel) - 8

ПроизводительAtmel
Описание8-bit AVR Microcontroller with 1K Byte of In-System Programmable Flash
Страниц / Страница71 / 8 — I/O Direct. Figure 9. Relative Program Addressing, Figure 10. RJMP and …
Формат / Размер файлаPDF / 1.5 Мб
Язык документаанглийский

I/O Direct. Figure 9. Relative Program Addressing, Figure 10. RJMP and RCALL. Subroutine and Interrupt. Hardware Stack. AT90S1200

I/O Direct Figure 9 Relative Program Addressing, Figure 10 RJMP and RCALL Subroutine and Interrupt Hardware Stack AT90S1200

Электромеханические реле Hongfa – надежность и качество 19 января 2023

Модельный ряд для этого даташита

Текстовая версия документа

Operands are contained in register r (Rr) and d (Rd). The result is stored in register d (Rd).
I/O Direct Figure 9.
I/O Direct Addressing Operand address is contained in 6 bits of the instruction word. n is the destination or source register address.
Relative Program Addressing, Figure 10.
Relative Program Memory Addressing
RJMP and RCALL
Program execution continues at address PC + k + 1. The relative address k is -2048 to 2047.
Subroutine and Interrupt
The AT90S1200 uses a 3 level deep hardware stack for subroutines and interrupts. The
Hardware Stack
hardware stack is 9 bits wide and stores the Program Counter (PC) return address while subroutines and interrupts are executed. RCALL instructions and interrupts push the PC return address onto stack level 0, and the data in the other stack levels 1 - 2 are pushed one level deeper in the stack. When a RET or RETI instruction is executed the returning PC is fetched from stack level 0, and the data in the other stack levels 1 - 2 are popped one level in the stack. If more than three subsequent subroutine calls or interrupts are executed, the first val- ues written to the stack are overwritten.
8 AT90S1200
0838H–AVR–03/02 Document Outline Features Pin Configuration Description Block Diagram Pin Descriptions VCC GND Port B (PB7..PB0) Port D (PD6..PD0) RESET XTAL1 XTAL2 Crystal Oscillator On-chip RC Oscillator Architectural Overview General Purpose Register File ALU – Arithmetic Logic Unit In-System Programmable Flash Program Memory Program and Data Addressing Modes Register Direct, Single Register Rd Register Indirect Register Direct, Two Registers Rd and Rr I/O Direct Relative Program Addressing, RJMP and RCALL Subroutine and Interrupt Hardware Stack EEPROM Data Memory Instruction Execution Timing I/O Memory Status Register – SREG Reset and Interrupt Handling Reset Sources Power-on Reset External Reset Watchdog Reset Interrupt Handling General Interrupt Mask Register – GIMSK Timer/Counter Interrupt Mask Register – TIMSK Timer/Counter Interrupt FLAG Register – TIFR External Interrupts Interrupt Response Time MCU Control Register – MCUCR Sleep Modes Idle Mode Power-down Mode Timer/Counter0 Timer/Counter0 Prescaler Timer/Counter0 Control Register – TCCR0 Timer/Counter0 – TCNT0 Watchdog Timer Watchdog Timer Control Register – WDTCR EEPROM Read/Write Access EEPROM Address Register – EEAR EEPROM Data Register – EEDR EEPROM Control Register – EECR Prevent EEPROM Corruption Analog Comparator Analog Comparator Control and Status Register – ACSR I/O Ports Port B Port B Data Register – PORTB Port B Data Direction Register – DDRB Port B Input Pin Address – PINB Port B as General Digital I/O Alternate Functions of Port B Port B Schematics Port D Port D Data Register – PORTD Port D Data Direction Register – DDRD Port D Input Pins Address – PIND Port D as General Digital I/O Alternate Functions for Port D Port D Schematics Memory Programming Program and Data Memory Lock Bits Fuse Bits Signature Bytes Programming the Flash and EEPROM Parallel Programming Signal Names Enter Programming Mode Chip Erase Programming the Flash Reading the Flash Programming the EEPROM Reading the EEPROM Programming the Fuse Bits Programming the Lock Bits Reading the Fuse and Lock Bits Reading the Signature Bytes Parallel Programming Characteristics Serial Downloading Serial Programming Algorithm Data Polling EEPROM Data Polling Flash Serial Programming Characteristics Electrical Characteristics Absolute Maximum Ratings* DC Characteristics External Clock Drive Waveforms External Clock Drive Typical Characteristics AT90S1200 Register Summary Instruction Set Summary Ordering Information(1) Packaging Information 20P3 20S 20Y Table of Contents
Электронные компоненты. Бесплатная доставка по России