CW assembler ORG problem

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

CW assembler ORG problem

Jump to solution
1,252 Views
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

Labels (1)
0 Kudos
1 Solution
231 Views
donw
Contributor IV

thanks

My code also works now.

I added 

XREF _Startup

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

 

View solution in original post

0 Kudos
2 Replies
231 Views
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 Kudos
232 Views
donw
Contributor IV

thanks

My code also works now.

I added 

XREF _Startup

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

 

0 Kudos