sonny@charybdis.harris-atd.com (Bob Davis) (01/02/91)
Here is a fragment of Assembly language code I am having a problem getting MASM v1.0 to handle properly: ... Begin EQU $ . . . End EQU $ ; mov dx,(End-Begin+0Fh) SHR 4 ------------------------------------------ For some reason, the constant (End-Begin+0Fh) SHR 4 is calculated as zero, despite the fact that there are 20 paragraphs between Begin and End. No error messages are flagged by the assembler. Also, this works properly under MASM v4.0 and ArrowASM v1.00d. Do you know what is going on? Thanks. _____________________________________________________________________________ Bob Davis, UofALA alum \\ INTERNET: sonny@trantor.harris-atd.com | _ _ | Harris Corporation, ESS \\ UUCP: ...!uunet!x102a!trantor!sonny |_| |_| | | Advanced Technology Dept.\\ AETHER: K4VNO |==============|_/\/\/\|_| PO Box 37, MS 3A/1912 \\ VOICE: (407) 727-5886 | I SPEAK ONLY | |_| |_| | Melbourne, FL 32902 \\ FAX: (407) 729-2537 | FOR MYSELF. |_________|