[comp.os.msdos.programmer] Code that assembled under TASM 1.0 that won't under TASM 2.0

jhl@eecae.msu.edu (John Lawitzke) (09/06/90)

The following code fragment used to compile and run fine
under TASM 1.0. Under TASM 2.0 it doesn't. Any ideas out there?

		IDEAL
		JUMPS
		MODEL SMALL
		P386
		CODESEG
;
;	CODE DELETED
;
		LIDT	[CS:IDTPTR]
		LGDT	[CS:GDTPTR]
;
;	CODE DELETED
;
GDTPTR		DW	....
IDTPTR		DW	....

The problem lies with the LIDT and LGDT statements. Under TASM 1.0 the
LIDT statement would show 2e: 0f 01 1e 05f1r in the listing file. Under
TASM 2.0, the statement is assembled to the same bytes, however I also
get the error "Argument to operation or instruction has illegal size".



--
j                               |%|John Lawitzke, Dale Computer Corp., R&D
                                |%|UUCP: uunet!mailrus!sharkey!dale1!jhl
				|%|  or: uunet!frith!dale1!jhl
Inquiring minds just wondering. |%|Internet: jhl@frith.egr.msu.edu