Skip to content

Latest commit

 

History

History
55 lines (50 loc) · 1.26 KB

File metadata and controls

55 lines (50 loc) · 1.26 KB
title ASSUME | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-tools
ms.tgt_pltfrm
ms.topic article
f1_keywords
ASSUME
_assume_cpp
dev_langs
C++
helpviewer_keywords
ASSUME directive
ms.assetid cd162070-aee9-4c65-babc-005c6cc73d7c
caps.latest.revision 7
author corob-msft
ms.author corob
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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