Top "Instructions" questions

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

Difference between long and short jump (x86)

I've read that short jumps are to be used when the relative jump is less than 124 in address, and long …

assembly x86 cpu instructions machine-instruction
Does the ret instruction add 4 to esp register?

Does the ret instruction cause "esp" register to be increased by 4?

assembly x86 return instructions stack-pointer
Dynamic vs Static instruction count

What is the difference between dynamic and static instruction count? a. Derive an expression to calculate the user CPU time …

mips instructions machine-instruction
Android instructions when open the application at first time?

Do you know this Well I want create something like this screen. When I open for the first time the …

android android-layout instructions
What is the advantage of having instructions in a uniform format?

Many processors have instructions which are of uniform format and width such as the ARM where all instructions are 32-bit …

encoding cpu-architecture instructions fixed-width variable-length
How to compile Busybox?

(The i9100 and i9100p phones have Exynos 4210 SoC which includes Cortex A9 dual core 1.2Ghz processor which supports NEON.) …

android compilation cross-compiling busybox instructions
How does the `test` instruction work?

If we have: test dword ptr [eax], 2000h je label1: Is there any value other than 0 in dword ptr [eax] …

assembly x86 bit-manipulation bitwise-operators instructions
What are the semantics of ADRP and ADRL instructions in ARM assembly?

ADRP Address of 4KB page at a PC-relative offset. ADRL Load a PC-relative address into a register. It is similar …

assembly arm arm64 instructions position-independent-code
Difference between movq and movabsq in x86-64

I'm a newcomer here and just starting to study assembly language. So please correct me if I'm wrong, or if …

assembly x86-64 att instructions immediate-operand
How do ASCII Adjust and Decimal Adjust instructions work?

I've been struggling with understanding the ASCII adjust instructions from x86 assembly language. I see all over the internet information …

assembly x86 decimal instructions bcd