The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: RedXVII on February 23, 2006, 05:32:10 PM

Title: Quick question on not compiling
Post by: RedXVII on February 23, 2006, 05:32:10 PM
Trying to compile;

Chat.asm(99) : error A2022: instruction operands must be the same size

Line 99:
.if ah=='/'

whats wrong with that? i thaught this was ok, ive done it before...or at least, i thaught so...
Title: Re: Quick question on not compiling
Post by: arafel on February 23, 2006, 05:57:42 PM
It should assemble just fine. At least it does for me.

Reported line number on some occasions is not the same as exact location in the source. The problem is probably somewhere else. Try checking any nearby lines.
Title: Re: Quick question on not compiling
Post by: RedXVII on February 23, 2006, 06:03:16 PM
Oh yeah, woops  :red

Thx  :U