Hi, I need to make a division of two longs so I used the application notes of asm math routines but even writing the same instructions as the example I get the following error:
***Demo.asm(2554): as1 : Error 54: Can't match Addressing mode ' sla {dividend+3} it seems that I can use this addresing mode to move values like ''ld X,{dividend+3}'' but I can't use a direct instruction like in the example, perhaps I made something worng in the declaration of values?, it's the following: WORDS segment byte at 200-27F 'ram1' .tempquot DS.B 4 ;4bytes .quotient DS.B 2 ; .dividend DS.B 4 ;4bytes [ This message was edited by: bernat on 22-09-2009 13:06 ]