Muokkaa

Jaa


ASSUME

Enables error checking for register values. (32-bit MASM only.)

Syntax

ASSUME segregister:name, segregister:name...⟧
ASSUME dataregister:type, dataregister:type...⟧
ASSUME register:ERROR, register:ERROR...⟧
ASSUMEregister:NOTHING, register:NOTHING...⟧

Remarks

After an ASSUME is put into effect, the assembler watches for changes to the values of the given registers. ERROR generates an error if the register is used. NOTHING removes register error checking. You can combine different kinds of assumptions in one statement.

See also

Directives Reference
MASM BNF Grammar