Assembly Language - How to do Modulo?

前端 未结 4 516
北荒
北荒 2020-11-28 05:56

Is there something like a modulo operator or instruction in x86 assembly?

4条回答
  •  一向
    一向 (楼主)
    2020-11-28 06:26

    An easy way to see what a modulus operator looks like on various architectures is to use the Godbolt Compiler Explorer.

    https://godbolt.org/z/64zKGr

提交回复
热议问题