ASM Help

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

ASM Help

3,838 次查看
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
标签 (1)
0 项奖励
回复
3 回复数

998 次查看
UK_CF_FAE
NXP Employee
NXP Employee
org 0x1234??????
0 项奖励
回复

998 次查看
Alban
Senior Contributor II
Yep, I agree with Mark:
 
Code:
ORG 0x1234

 
will place the following from this address.
 
Alban.
0 项奖励
回复

998 次查看
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 项奖励
回复