其他分享
首页 > 其他分享> > ARM, RISC-V和8086简单比较

ARM, RISC-V和8086简单比较

作者:互联网

ISA - Instruction Set Architecture.

RISC - Reduced Instruction Set Computer. 居然没有学gcc改称GNU Compiler Collection, 原名/大家都觉得: GNU C Compiler.

因为:There are 117 basic instructions in the instruction set of 8086, ARM好像比117条多,RISC-V好像57条打不住。我的意思是把前缀/修饰啥的都算上。8086没有浮点指令,处理浮点用软件或者8087协处理器。ARM和RISC-V好像有浮点和单指令多数据指令。

RISC-V有32个寄存器,最具RISC范。内存不分段和页。

The Thumb-2 instruction encodings are rather messy in order to squeeze as many useful instructions into the 16-bit space. -Raymond Chen.

有点像哈夫曼码,常用的指令编码短,不常用的长。POP AX 58,  MOV EAX,[EBX] 67 66 8B 03,这个不messy, Wintel嘛。

参考资料:

标签:8086,Set,Thumb,Instruction,RISC,ARM
来源: https://www.cnblogs.com/funwithwords/p/15785131.html