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...⟧
ASSUME ⟦register:⟧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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for