User Tools

Site Tools


en-us_products:mpino_studio2:box_functions:bit_operations:wnot

WNOT Box Function

Word NOT

Category: Bitwise Operation Box Functions

Behavior

Inverts every bit in the source WORD and stores the result.

Syntax and Arguments

Syntax: WNOT D0 D1

  • 1st = S: source address or constant to invert
  • 2nd = D: result destination address

Behavior Example

Run condition Before Command entered Expected result
Left condition ON D0=0x00CC WNOT D0 D1 D1=0xFF33

Inputs and results for Bitwise Operation Box Functions

Cautions

  • The operation applies to all 16 bits of the WORD.

Box Functions in the Same Category

en-us_products/mpino_studio2/box_functions/bit_operations/wnot.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki