Hi Grey,

 

I need to handle code blocks everywhere by using a code block manager.

To verify the code block manager, I have to use code blocks to be located at 
arbitrary addresses.

Sometime, the code block size is smaller than that of a function size, so I 
need to split the function into several code blocks.

 

Thanks,
 


From: [email protected]
To: [email protected]
Date: Sun, 25 Oct 2009 16:00:13 -0500
Subject: Re: [Sdcc-user] Allocation each code block to different locations







I have no answer for how to accomplish something like this, but I am extremely 
curious as to WHY you would want to do something like this.
 
Greg
 


From: [email protected] 
[mailto:[email protected]] On Behalf Of Jinsik Kim
Sent: Sunday, October 25, 2009 3:41 PM
To: [email protected]
Subject: [Sdcc-user] Allocation each code block to different locations
 
Dear,
 
 
In 8051 assembly, I want split function code into several code blocks and 
locate each code block to specific memory location.
 
How can I allocate each block into specific memory location.
 
For example
 
.area CS01 (CODE)
func1:
~
~
00001$:
~
00002$:
~
00003$:
~
ret
func1 is located at CS01 address
 
However, I want to split funct1 into 4 parts and locate each at differenct 
locations, CS01, CS02, CS03, and CS04.
---------------------------------------
funct1: ;;;;-> would be located at CS01
~
~
---------------------------------------
00001$: ;;;;->would be located at CS02
~
---------------------------------------
00002$: ;;;;->would be located at CS03
~
----------------------------------------
00003$: ;;;;->would be lcoated at CS04
~
ret
---------------------------------------
 
Thanks,



Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.                                       
_________________________________________________________________
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to