Common Assembly Instructions
Jim Keller has remarked that there are about 25 instructions in common use that all instruction sets need. Let’s talk about them.
x86
movwas about 40%pushwas about 10%popwas about 4%callwas about 7%retwas about 7%je/jnewas about 3%jmpwas also 3%cmpwas 5%add/subwas 10%and/or/xorwas 5%leawas 3%nopwas about 3%
This is about the same for ARM and RISC-V, where moving instructions were most dominant.