The expressions accepted by the x86 assembler are defined by their syntax and semantics. The following are the operators supported by the assembler:

Table 1-2 Operators Supported by the Assembler
Operator |
Action |
---|---|

+ |
Addition |

- |
Subtraction |

\* |
Multiplication |

\/ |
Division |

& |
Bitwise logical and |

| |
Bitwise logical or |

>> |
Right shift |

<< |
Left shift |

\% |
Remainder operator |

! |
Bitwise logical and not |

^ |
Bitwise logical XOR |

- © 2010, Oracle Corporation and/or its affiliates