Ben,

below is what I need to write in  my C code:

========================================
asm void data() {
          dc.b    1,2,3,4
}

asm void func() {
        ..............
         move.w   data(pc,d0),d0         // what is the syntax for this
string?
        .............
}
=========================================

this statement cant't be compiled, while the statement like
         move.w   8(pc,d0),d0
compiles correctly.  I can compile
         move.w   (data)(pc,d0),d0
but it creates wrong binary data.... How can I calculate and use a word =
offset of data?

Thanks.




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to