|
From: Marcelo S. <mar...@bs...> - 2003-05-11 06:23:03
|
rol/ror have just 3 bits in the counter field, then the valid range for imediate data is #1 up to #8, for other values, you must use a counter in a register: moveq #0xf,%d2 rol %d2,%d3 or two rol instructions: rol #8,%d3 rol #7,%d3 best regards, marcelo samsoniuk Lucas Mendes wrote: > > I got follow lines when I tried a gcc -c calls_test.s. > > calls_test.s:33: Error: operands mismatch -- statement `rol #0x0f,%d3' > ignored > *** Error code 1 > > Where is rol instruction in gcc? :) > > 68EC000 User's Manual techs ROL/ROR as; > > ROd Rx,Dy^1 /* (^1 is 1 in upcase) */ > ROd #<data>,Dy^1 > > What hell is Dy^1? I don't understad what is that, and there's no > anything about > in my 68040 User's Manual hardcopied. > > -- > o _ _ _ > _o /\_ _ \\o (_)\__/o (_) > _< \_ _>(_) (_)/<_ \_| \ _|/' \/ > (_)>(_) (_) (_) (_) (_)' _\o_ > -+----------------+------------------------------------+- > | Lucas Mendes | http://sourceforge.net/users/esc2 | > -+-------------'| <lm...@ne...> | > ---------------------------------------' > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > Liquidfire-devel mailing list > Liq...@li... > https://lists.sourceforge.net/lists/listinfo/liquidfire-devel -- You cannot kill time without injuring eternity. |