You have to define ports in _assembly_ file like Wsomething=0xSomething. But it seems to me, htat you're trying to pass demorgans. Is it really necessary? Gimme an example, where imline assembly will be necessary (along with equivalent C code)
~d On Tuesday 18 February 2003 10:14, Oleg Skydan wrote: > Hi, All, > > Is there any trick to write somthing like next: > > asm volatile(" bic.b #WDTIE,&IE1"::); > > E.g. how can I use macros in inline assembly in a flexible way? > > Thanks, > Oleg. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users -- /******************************************************************** ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44 _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314 ********************************************************************/