t6020m ATMEL Corporation, t6020m Datasheet - Page 9

no-image

t6020m

Manufacturer Part Number
t6020m
Description
Low-current Microcontroller For Watchdog Function
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T6020M
Manufacturer:
TFK
Quantity:
1 000
Part Number:
T6020M
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
t6020m-TKQY
Manufacturer:
AMD
Quantity:
3
Part Number:
t6020m013TKQY
Manufacturer:
ATMEL
Quantity:
6 617
Part Number:
t6020m015-TKQY
Manufacturer:
ST
0
Part Number:
t6020m015TKQY
Manufacturer:
PH
Quantity:
3 706
2.2.4
The 4-bit ALU performs all the arithmetic, logical, shift
and rotate operations with the top two elements of the
expression stack (TOS and TOS–1) and returns the result
to the TOS. The ALU operations affect the carry/borrow
and branch flag in the condition code register (CCR).
2.2.5
The I/O ports and the registers of the peripheral modules
are I/O mapped. All communication between the core and
the on-chip peripherals takes place via the I/O bus and the
associated I/O control. With the MARC4 IN and OUT
instructions the I/O bus allows a direct read or write
access to one of the 16 primary I/O addresses. More about
the I/O access to the on-chip peripherals is described in
the section ”Peripheral Modules”. The I/O bus is internal
and is not accessible by the customer on the final micro-
controller device, but it is used as the interface for the
MARC4 emulation (see also the section ”Emulation”).
2.2.6
The MARC4 instruction set is optimized for the high level
programming
instructions are qFORTH words. This enables the
compiler to generate a fast and compact program code.
The CPU has an instruction pipeline allowing the
controller to prefetch an instruction from ROM at the
same time as the present instruction is being executed.
Rev. A3, 02-Apr-01
ALU
I/O Bus
Instruction Set
Ï Ï Ï Ï
Ï Ï Ï Ï
language qFORTH. Many MARC4
SP
Ï Ï Ï Ï
Ï Ï Ï Ï
Ï Ï Ï Ï
Ï Ï Ï Ï
Ï Ï Ï Ï
Ï Ï Ï Ï
Ï Ï Ï Ï
Ï Ï Ï Ï
Ï Ï Ï Ï
Ï Ï Ï Ï
RAM
TOS–1
TOS–2
TOS–3
TOS–4
Ï Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï
Figure 7. ALU zero-address operations
Ï Ï Ï
Ï Ï Ï
CCR
Ï Ï Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï
Ï Ï Ï Ï Ï Ï
The MARC4 is a zero address machine, the instructions
containing only the operation to be performed and no
source or destination address fields. The operations are
implicitly performed on the data placed on the stack.
There are one and two byte instructions which are
executed within 1 to 4 machine cycles. A MARC4
machine cycle is made up of two system clock
cycles (SYSCL). Most of the instructions are only one
byte long and are executed in a single machine cycle. For
more information refer to the ”MARC4 Programmer’s
Guide”.
2.2.7
The MARC4 can handle interrupts with eight different
priority levels. They can be generated from the internal
and external interrupt sources or by a software interrupt
from the CPU itself. Each interrupt level has a hard-wired
priority and an associated vector for the service routine in
the ROM (see table 2). The programmer can postpone the
processing of interrupts by resetting the interrupt enable
flag (I) in the CCR. An interrupt occurrence will still be
registered, but the interrupt routine only started after the
I flag is set. All interrupts can be masked, and the priority
individually software configured by programming the
appropriate control register of the interrupting module.
(see section ”Peripheral Modules”).
ALU
Ï Ï Ï Ï
Ï Ï
TOS
Interrupt Structure
T6020M
94 8977
9 (54)

Related parts for t6020m