avr-gcc-list
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[avr-gcc-list] Assembly language help
From
:
Parthasaradhi Nayani
Subject
:
[avr-gcc-list] Assembly language help
Date
:
Fri, 27 Jul 2007 20:04:41 -0700 (PDT)
Hello Group,
I am writing an assembly language function in which I need to get the address of a sub-routine into a register pair. How can I do it? A sample code is given below.
;------------------------------------------------------------------------------------------------------------------
.section .text
.global func1
func1: nop
nop ; some code
; at this point I would like to get the address of label1 into, say r24 and r25
label1: nop
nop ; some code
;---------------------------------------------------------------------------------------------------------------------
I am using Mega64. Thanks in advance for help rendered.
Regards
Nayani P
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[avr-gcc-list] Assembly language help
,
Parthasaradhi Nayani
<=
Re: [avr-gcc-list] Assembly language help
,
Gre7g Luterman
,
2007/07/28
Re: [avr-gcc-list] Assembly language help
,
Parthasaradhi Nayani
,
2007/07/29
Re: [avr-gcc-list] Assembly language help
,
Erik Christiansen
,
2007/07/29
Re: [avr-gcc-list] Assembly language help
,
Parthasaradhi Nayani
,
2007/07/29
Re: [avr-gcc-list] Assembly language help
,
Gre7g Luterman
,
2007/07/30
Re: [avr-gcc-list] Assembly language help
,
Erik Christiansen
,
2007/07/30
Re: [avr-gcc-list] Assembly language help
,
Parthasaradhi Nayani
,
2007/07/30
RE: [avr-gcc-list] Assembly language help
,
Eric Weddington
,
2007/07/31
Re: [avr-gcc-list] Assembly language help
,
Joerg Wunsch
,
2007/07/31
Prev by Date:
Re: [avr-gcc-list] Atmel 2561 support
Next by Date:
[avr-gcc-list] Anyone used Atmel's 802.15.4 stack (or OpenMac) ?
Previous by thread:
[avr-gcc-list] Atmel 2561 support
Next by thread:
Re: [avr-gcc-list] Assembly language help
Index(es):
Date
Thread