Path: utzoo!utgpu!watmath!clyde!att!ucbvax!hplabs!hp-pcd!hpcvlx!everett From: everett@hpcvlx.HP.COM (Everett Kaser) Newsgroups: comp.sys.ibm.pc Subject: Re: MASM "GROUP" is weird Message-ID: <101000027@hpcvlx.HP.COM> Date: 5 Dec 88 17:11:23 GMT References: <733@husc6.harvard.edu> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 27 First of all, you'll need to straighten out your assembly language syntax. The 'mov' instruction specifies the destination as the first argument and the source as the second argument. So, the following... > mov ax, SEG FIRST_GROUP > mov ax, cs > mov ax, SEG FIRST_TEXT > mov ax, ds > mov ax, SEG FIRST_DATA > mov ax, ss > mov ax, SEG FIRST_STACK > mov ax, OFFSET FIRST_GROUP:rcs_id should be written as: mov ax,FIRST_GROUP mov ds,ax etc. You do NOT want to try loading the CS register. It has to be right all ready or you wouldn't be executing the code. Remember, it's 'mov' INTO 'first_arg' FROM 'second arg'. All of the lines of code in your example are just re-loading the AX register with different values. Everett Kaser !hplabs!hp-pcd!everett