Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.04 KB

assume.md

File metadata and controls

35 lines (31 loc) · 1.04 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
ASSUME | Microsoft Docs
11/04/2016
cpp-tools
article
ASSUME
C++
ASSUME directive
cd162070-aee9-4c65-babc-005c6cc73d7c
7
corob-msft
corob
ghogen

ASSUME

Enables error checking for register values.

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

Directives Reference