~ubuntu-branches/ubuntu/raring/avr-libc/raring-proposed

« back to all changes in this revision

Viewing changes to common/macros.inc

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2011-07-14 11:15:32 UTC
  • mfrom: (1.1.10 upstream) (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20110714111532-e83i3vqdowgxw8lv
Tags: 1:1.7.1-2
include/util/delay.h.in: Add math.h to list of includes (closes:
#633822)

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
#define r30 _R(r30)
95
95
#define r31 _R(r31)
96
96
 
97
 
#ifndef __tmp_reg__
98
 
#define __tmp_reg__ r0
 
97
#if !defined(__tmp_reg__)
 
98
    #if defined(__AVR_TINY__)
 
99
        #define __tmp_reg__ r16
 
100
    #else
 
101
        #define __tmp_reg__ r0
 
102
    #endif
99
103
#endif
100
104
 
101
 
#ifndef __zero_reg__
102
 
#define __zero_reg__ r1
 
105
#if !defined(__zero_reg__)
 
106
    #if defined(__AVR_TINY__)
 
107
        #define __zero_reg__ r17
 
108
    #else
 
109
        #define __zero_reg__ r1
 
110
    #endif
103
111
#endif
104
112
 
105
113
#if __AVR_MEGA__