Keil Logo

. Assembler Operator

Arguments
operand.position_operand


Description

The dot operator ('.') designates a bit from the word operand whose position is specified by the position_operand. The position_operand must be an absolute expression that evaluates to a number from 0-15. The operand specifies a bit-addressable word in the internal RAM or SFR area.

The following table specifies the different memory areas for operand:

Address Range Location
000000h-00007Fh Internal RAM
000080h-0000EFh SFR Area
00FD00h-00FDFEh Internal RAM
00FF00h-00FFDEh SFR Area

The operand may also be located in a bit-addressable data section as shown in the example below.

Example
BD10   SECTION DATA BITADDRESSABLE
 BW0   DSW1
BD10   ENDS
EXTRN  BW1 : BIT WORD                ; external bit word

BCLR   BW0.3                         ; valid bitaddress
BCLR   BW1.15                        ; external bit word in bitaddress
BCLR   0FD00H.15
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.