About 23,100,000 results
Open links in new tab
  1. x86 - MUL function in assembly - Stack Overflow

    I am trying to execute simple multiplication in Assembly. However, I do not see the registers change when the MUL function is called. mov bx, 5 mov cx, 10 mul cx

  2. MUL Instruction in x86 Assembly - Stack Overflow

    Apr 2, 2023 · The x86 mul instruction always multiplies the accumulator register (EAX, AX, or AL) by whichever operand you provide in the instruction: The dword-sized mul ecx will multiply …

  3. Why are there two ways to multiply arbitrary signed numbers in …

    Oct 11, 2018 · But looking at the machine code it appears that mult is a valid R-type instruction (opcode 0) whereas mul has a nonzero opcode (0x1c) and so shouldn't be an R-type, even …

  4. Under what circumstances are __rmul__ called? - Stack Overflow

    Mar 3, 2011 · Say I have a list l. Under what circumstance is l.__rmul__(self, other) called? I basically understood the documentation, but I would also like to see an example to clarify its …

  5. assembly - Should I use "mul" or "imul" when multiplying a signed ...

    Aug 5, 2017 · You can replace imul with mul, and the result would still be the same (-10). Are mul and imul exactly the same when multiplying a signed number to an unsigned number, or is …

  6. What's the difference between torch.mm, torch.matmul and …

    Oct 2, 2022 · After reading the pytorch documentation, I still require help in understanding the difference between torch.mm, torch.matmul and torch.mul. As I do not fully understand them, I …

  7. mysql - SQL keys, MUL vs PRI vs UNI - Stack Overflow

    What is the difference between MUL, PRI and UNI in MySQL? I'm working on a MySQL query, using the command: desc mytable; One of the fields is shown as being a MUL key, others …

  8. Using the __mul__ method with a number and different class object

    Sep 17, 2020 · I am working on a class for polynomials and I would like to use the mul method to multiply two different polynomials when both inputs are polynomials, but also be able to use …

  9. 64 bit - In the risc-v architecture, what do the bits returned by the ...

    Oct 5, 2020 · MUL performs an XLEN-bit × XLEN-bit multiplication of rs1 by rs2 and places the lower XLEN bits in the destination register. MULH, MULHU, and MULHSU perform the same …

  10. x86 - problem in understanding mul & imul instructions of …

    I'm learning 80386 from PC Assembly by paul caurter mul source If the operand is byte sized, it is multiplied by the byte in the AL register and the result is stored in the 16 bits of A...