CW assembler ORG problem

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

CW assembler ORG problem

ソリューションへジャンプ
1,306件の閲覧回数
donw
Contributor IV

I am using Code Warrior to assemble assembler code only

I what to position a table on the next 256 byte memory boundary after my code

Other assemblers will allow:

  ORG   * & $0FF00

  ORG   * +$100

 

but CW says 'complex relocatbale expression not supported'

How can I do this in CW?

 

don

ラベル(1)
0 件の賞賛
1 解決策
285件の閲覧回数
donw
Contributor IV

thanks

My code also works now.

I added 

XREF _Startup

to my list of vectors (@ fffe) , and it now assembles!

 

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
285件の閲覧回数
bigmac
Specialist III

Hello Don,

 

I have successfully used the following construct for CW absolute assembly -

 

  ORG ((*/$100 + 1)*$100)    ; Start new page

 

The whole expression does need to be enclosed in parenthesis, as shown.

 

Regards,

Mac


 

0 件の賞賛
286件の閲覧回数
donw
Contributor IV

thanks

My code also works now.

I added 

XREF _Startup

to my list of vectors (@ fffe) , and it now assembles!

 

0 件の賞賛