On Wed, 4 Feb 2004, Arkady V.Belousov wrote: > 3-���-2004 15:17 [EMAIL PROTECTED] (Luchezar Georgiev) wrote to > [EMAIL PROTECTED]: > > LG> "_emit" can be replaced by "db", > > __emit__ (was) allow to point variable names (including local). Though, > I don't use this feature and now replace some __emit__ occurences by > explicit inline asm. BTW, some time ago I was use __emit__ because some > discussions (with tom) about inline asm was ended that "emit is better > because more predicatable".
in general #pragma aux works best with OW's optimizer since you can tell it exactly which registers are clobbered; inline assembly using _asm was bolted on much later to Watcom for MS compatibility and it's very pessimistic (basically assumes almost all registers may be clobbered, even worse than Turbo C which seems to scan inline asm for "si" and "di" but isn't very clever about them either, moreover "int" or outside procedures could clobber si and di too...). > BTW, does anyone know where I may find good describe for WASM language? > .ihp are too short and most useful part is where listed unsupported keywords > (like CATSTR). Doesn't inspires (to replace TASM). :( there isn't any WASM guide, it just doesn't exist (apart from the docs you already saw). It supports a subset of MASM syntax given by those keywords, apart from that you're solely on your own... Bart ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel
