avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Binding a register pair to a pointer


From: Georg-Johann Lay
Subject: RE: [avr-gcc-list] Binding a register pair to a pointer
Date: Wed, 10 Dec 2008 17:51:18 +0100

> register unsigned char counter asm ("r3")

Pointers live in register pairs, you must not specify an odd number.

However, I guess that specifying a GPR explicitly is not what you want?

You can find some examples on the following page. 
The page is in german but the examples should give you some hints.

http://www.roboternetz.de/wissen/index.php/Inline-Assembler_in_avr-gcc#Zugriff_aufs_SRAM

regards

Georg-Johann

_______________________________________________________________________
Sensationsangebot verlängert: WEB.DE FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K15039B7069a





reply via email to

[Prev in Thread] Current Thread [Next in Thread]