please dont rip this site

MASM Reserved Words

This appendix lists the reserved words recognized by MASM. They are divided primarily by their use in the language. The primary categories are:

Reserved words in MASM 6.1 are reserved under all CPU modes. Words enabled in .8086 mode, the default, can be used in all higher CPU modes. To use words from subcategories such as "Special Operands for the 80386" (later in this appendix) requires .386 mode or higher.

You can disable the recognition of any reserved word specified in this appendix by setting the NOKEYWORD option for the OPTION directive. Once disabled, the word can be used in any way as a user-defined symbol (provided the word is a valid identifier). If you want to remove the STR instruction, the MASK operator, and the NAME directive, for instance, from the set of words MASM recognizes as reserved, add this statement to your program:

OPTION NOKEYWORD:<STR MASK NAME>

Words in this appendix identified with an asterisk (*) are new since MASM 5.1.

Operands and Symbols

The words on the two lists in this section are the operands to certain directives. They have special meaning to the assembler. The words on the first list are not reserved words. They can be used in every way as normal identifiers, without affecting their use as operands to directives. The assembler interprets their use from context.

Even though the words on the first list are not reserved, they should not be defined to be text macros or text macro functions. If they are, they will not be recognized in their special contexts. The assembler does not give a warning if such a redefinition occurs.

These operands are reserved words. Reserved words are not case sensitive.

Special Operands for the 80386/486

Predefined Symbols

Unlike most MASM reserved words, predefined symbols are case sensitive.

Registers

 

Operators and Directives

Processor Instructions

Processor instructions are not case sensitive.

8086/8088 Processor Instructions

80186 Processor Instructions

80286 Processor Instructions

80286 and 80386 Privileged-Mode Instructions

80386 Processor Instructions

80486 Processor Instructions

BSWAP*

CMPXCHG*

INVD*

INVLPG*

WBINVD*

XADD*

Instruction Prefixes

LOCK

REP

REPE

REPNE

REPNZ

REPZ

Coprocessor Instructions

Coprocessor instructions are not case sensitive.

8087 Coprocessor Instructions

80287 Privileged-Mode Instruction

80387 Instructions


file: /Techref/language/masm/masmAPD.htm, 19KB, , updated: 2005/10/13 11:51, local time: 2024/11/22 18:20,
TOP NEW HELP FIND: 
3.144.40.239:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/Techref/language/masm/masmAPD.htm"> APPENDIX D</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .