i'm very confused with the near and far keyword that goes
 after the word "PROC" could anyone here explain me what -
 they are? when/when not to use it?
Posted on 2001-05-23 17:08:00 by disease_2000
disease, The NEAR and FAR distinction is related to segment addressing in 16 bit code. If you are addressing something within a single segment, it is NEAR as it is within the segment limit size of 64k but if you are accessing something from another segment like DATA, it is more than 64k away in address terms so you use FAR. I confess to being a little rusty in DOS segmented code but depending on the memory model you use, you have access at different segments like CODE = CS, DATA = DS, ES = extra segment etc .... Regards, hutch@pbq.com.au
Posted on 2001-05-24 03:01:00 by hutch--
All the PROC attributes are explained in the MASM manual. You can download it here : http://web.tsufb.edu/CSClassSupl/cs3345/masm_manuals.htm Good luck !
Posted on 2001-05-24 05:14:00 by karim