CW assembler ORG problem

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

CW assembler ORG problem

跳至解决方案
1,980 次查看
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 解答
959 次查看
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 回复数
959 次查看
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 项奖励
回复
960 次查看
donw
Contributor IV

thanks

My code also works now.

I added 

XREF _Startup

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

 

0 项奖励
回复