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.