ASM Help

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ASM Help

3,347 Views
tim_milliken
Contributor III
Can anyone tell me what is the equivlent of #pragma CODE_SEG DEFAULT to a .asm file? I have a asm file that I want the compiler to put it into the lower part of memory but it is putting it in the upper part and I am not sure how to direct it to the lower part. Thanks
Labels (1)
0 Kudos
3 Replies

507 Views
UK_CF_FAE
NXP Employee
NXP Employee
org 0x1234??????
0 Kudos

507 Views
Alban
Senior Contributor II
Yep, I agree with Mark:
 
Code:
ORG 0x1234

 
will place the following from this address.
 
Alban.
0 Kudos

507 Views
CrasyCat
Specialist III

Hello

Which processor are you targeting?

Did you define a code section in your assembly source code (Using SECTION directive)?

Where do you want to place the section?

How does your linker parameter file looks like?

CrasyCat

0 Kudos