X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=include%2Ftn15def.inc;fp=include%2Ftn15def.inc;h=405d8d21b4d7943afc62ddfa5c9a4123e2f7641c;hb=e2b240151eadc5d18f060ffdfd364405b1ca2e56;hp=0000000000000000000000000000000000000000;hpb=c47538b1c8205e93e3d99de8a7ed341b7daa0fdf;p=my-code%2Fatmel.git diff --git a/include/tn15def.inc b/include/tn15def.inc new file mode 100644 index 0000000..405d8d2 --- /dev/null +++ b/include/tn15def.inc @@ -0,0 +1,207 @@ +; Last change: TF 8 Sep 99 8:18 pm +;*************************************************************************** +;* 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 : "T15def.inc" +;* Title : Register/Bit Definitions for the ATtiny15 +;* Date : 1999.09.08 +;* Version : 1.00 +;* Support telephone : +47 72 88 43 88 (ATMEL Norway) +;* Support fax : +47 72 88 43 99 (ATMEL Norway) +;* Support E-Mail : avr@atmel.com +;* Target MCU : ATtiny15 +;* +;* 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. +;* +;* The Register names are represented by their hexadecimal addresses. +;* +;* 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<