X-Git-Url: https://www.hackdaworld.org/gitweb/?p=my-code%2Fatmel.git;a=blobdiff_plain;f=include%2Fm64def.inc;fp=include%2Fm64def.inc;h=a4a7f0623ba13a0d1ccafd1aa3886a4628801062;hp=0000000000000000000000000000000000000000;hb=e2b240151eadc5d18f060ffdfd364405b1ca2e56;hpb=c47538b1c8205e93e3d99de8a7ed341b7daa0fdf diff --git a/include/m64def.inc b/include/m64def.inc new file mode 100644 index 0000000..a4a7f06 --- /dev/null +++ b/include/m64def.inc @@ -0,0 +1,954 @@ +;*************************************************************************** +;* 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 : "m64def.inc" +;* Title : Register/Bit Definitions for the ATmega604 +;* Date : April 16th, 2002 +;* Version : 1.0 +;* Support telephone : +47 72 88 43 88 (ATMEL Norway) +;* Support fax : +47 72 88 43 99 (ATMEL Norway) +;* Support E-mail : support@atmel.no +;* Target MCU : ATmega64 +;* +;* 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<