•  Back 
  •  Assembler 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure Assembler Documentation
Author      : John Kormylo
Version     : PASM.HYP 1.0
Subject     : Documentation/Pure Assembler
Nodes       : 740
Index Size  : 20262
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ BFCHG ]

BFCHG <ea>{offset:width}

    Test bit field then change it (compliment).
    offset = number bits from leftmost bit in <ea> (0 to 31).
    width = number bits in field (1 to 32).

Sizes: not applicable

CPUs: 234

Flags: V=0, C=0, N=leftmost bit set, Z=all bits clear

<ea>: Dn (An) d(An) d(An,Rx)
      addr ([b,An],Rx,d) ([b,An,Rx],d)


See also BFCLR, BFEXTS, BFEXTU, BFFFO, BFINS, BFSET, BFTST