On (06 Aug 97) Herbert Bushong wrote to Jerry Coffin...
HB> The code line is (from the intermediate ASM file, and the CPP source):
HB> cmp BYTE PTR [ds:si-2],43
HB> and the warning is:
HB> *Warning* opstr034.ASM(107) ":" operator ignored
HB> Is this something I can ignore or will it "byte" me later?
It looks like you can ignore it quite safely. The warning stems from
the fact that the instruction (like most others that refer to memory)
will use DS as the segment by default, so the `ds:' part isn't really
necessary. If you want to get rid of the warning, you should be able to
use:
cmp byte ptr [si-2], 43
and it'll do exactly the same thing, but with no warning.
Later,
Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)
|