At 01:27 PM 12/3/2005 -0600, I wrote:

The three people following to this point might wonder why Nomyso doesn't just eliminate the 'DWord' in the $DEFINE statement and eliminate the problem. Well, you can't automatically do that because the DWORD would be necessary in some cases where you might use the %define'd _ScreenArea, such as:


mov eax,_ScreenArea

Correction. The 'mov eax,_ScreenArea' instruction would work without the DWORD attribute because the data size is known through the register size.

Other instructions such as 'push _ScreenArea' would not work without the DWORD attribute because NASM doesn't know the size of data to push without it.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to