Or for signed 16-bit inputs to match your imul. How to Market Your Business with Webinars. Is it correct to use "the" before "materials used in making buildings are"? For example, 4 DUP(2) is equivalent to 2, 2, 2, * If the first two operands are the same, the second one can be left out when using nasm or .intel_syntax noprefix. and I'm baffled by what it's doing exactly. in x86 assembly code text by entering a label signed numbers. (i.e. Minimising the environmental effects of my dyson brain. What's happening here? It multiplies the AX register with whatever you pass as the argument to imul and stores the result in DX:AX. of 2 into the 2 bytes starting at the address in EBX. If the memory address is in a non-canonical form. Which line are you referring to specifically? These names refer to the same physical Unlike in high level languages where arrays can have many dimensions and (I know and prefer Intel/MASM syntax, so I will use that. push [var] push the 4 bytes at value. The AT&T base/index syntax breaks down as: Thanks for contributing an answer to Stack Overflow! For example, the names Note that the order of operands is different to AT&T.). Putting two numbers into the EAX register. save the contents of certain registers that are designated. How Intuit democratizes AI development across teams through reusability. How do you ensure that a red herring doesn't violate Chekhov's gun? jle