Top "Instructions" questions

Questions about instructions of real CPUs, VMs or compiler IRs.

`testl` eax against eax?

I am trying to understand some assembly. The assembly as follows, I am interested in the testl line: 000319df 8b4508 …

assembly x86 instructions
The difference between cmpl and cmp

I am trying to understand assembly to be able to solve a puzzle. However I encountered the following instructions: 0x0000000000401136 &…

assembly x86 x86-64 att instructions
What is the 0x10 in the "leal 0x10(%ebx), %eax" x86 assembly instruction?

What the function is of the 0x10 in regards to this LEAL instruction? Is it a multiply or addition or …

assembly x86 instructions
MOVing between two memory addresses

I'm trying to learn assembly (so bear with me) and I'm getting a compile error on this line: mov byte […

assembly x86 instructions mov
Why doesn't there exists a subi opcode for MIPS?

I am very new to Assembly language. I was reading about MIPS architecture and came to know that you have …

assembly mips cpu-architecture instructions instruction-set
What does it mean by "MOV AH, 4CH" in assembly language?

Most of the assembly code is terminate by the following instructions MOV AH, 4CH INT 21H What does it mean …

assembly dos x86-16 instructions
lc3 LDR instruction and the value stored

I can't figure out why After instruction “LDR R3, R0, 2” is executed, the value stored in R3 is x370C. …

assembly load instructions lc3
MIPS and ARM differences

I just started learning architecture and I have some confusions between MIPS and ARM architectures. I came to know that …

arm mips computer-architecture instructions
How does x86 pause instruction work in spinlock *and* can it be used in other scenarios?

The pause instruction is commonly used in the loop of testing spinlock, when some other thread owns the spinlock, to …

multithreading x86 cpu-architecture instructions spinlock
How to install py.test?

So I am new to Python. This may be a very foolish question, but I have no idea how to …

python installation add-on pytest instructions