ASM Help

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ASM Help

3,837件の閲覧回数
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 返答(返信)

997件の閲覧回数
UK_CF_FAE
NXP Employee
NXP Employee
org 0x1234??????
0 件の賞賛
返信

997件の閲覧回数
Alban
Senior Contributor II
Yep, I agree with Mark:
 
Code:
ORG 0x1234

 
will place the following from this address.
 
Alban.
0 件の賞賛
返信

997件の閲覧回数
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 件の賞賛
返信