From: hackbard Date: Sun, 14 Jan 2007 19:36:21 +0000 (+0000) Subject: added tiny 2313 definition X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=3ced418ab759e94d24d1a02d06789c644edd6461;p=my-code%2Fatmel.git added tiny 2313 definition --- diff --git a/include/tn2313def.inc b/include/tn2313def.inc new file mode 100644 index 0000000..d27c821 --- /dev/null +++ b/include/tn2313def.inc @@ -0,0 +1,647 @@ +;***** THIS IS A MACHINE GENERATED FILE - DO NOT EDIT ******************** +;***** Created: 2005-11-04 09:37 ******* Source: ATtiny2313.xml ********** +;************************************************************************* +;* A P P L I C A T I O N N O T E F O R T H E A V R F A M I L Y +;* +;* Number : AVR000 +;* File Name : "tn2313def.inc" +;* Title : Register/Bit Definitions for the ATtiny2313 +;* Date : 2005-11-04 +;* Version : 2.21 +;* Support E-mail : avr@atmel.com +;* Target MCU : ATtiny2313 +;* +;* DESCRIPTION +;* When including this file in the assembly program file, all I/O register +;* names and I/O register bit names appearing in the data book can be used. +;* In addition, the six registers forming the three data pointers X, Y and +;* Z have been assigned names XL - ZH. Highest RAM address for Internal +;* SRAM is also defined +;* +;* The Register names are represented by their hexadecimal address. +;* +;* The Register Bit names are represented by their bit number (0-7). +;* +;* Please observe the difference in using the bit names with instructions +;* such as "sbr"/"cbr" (set/clear bit in register) and "sbrs"/"sbrc" +;* (skip if bit in register set/cleared). The following example illustrates +;* this: +;* +;* in r16,PORTB ;read PORTB latch +;* sbr r16,(1<