operator-bitwise-add.md

May 2, 2024 ยท View on GitHub

Asmc Macro Assembler Reference

operator ADD

expression1 ADD expression2

Returns the result of a bitwise ADD operation for expression1 plus expression2.

; Manipulating float using binary operators

sqrt_approx macro f

      local x

        x = f sub 00010000000000000000000000000000r
        x = x shr 1
        x = x add 20000000000000000000000000000000r
        exitm<x>
        endm

See Also

Logical and Shift | Operators Reference