![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
计算机硬件
燚燚_yiyi
喜欢算法设计,课余喜欢健身
展开
-
C语言中字节对齐问题( Byte Order Problem)
Byte Order ProblemAshort intconsists of 2 bytes. Consider the number 0X1234. The 2 bytes have the values 0X12 and 0X34. Which value is stored in the...原创 2019-04-18 07:44:47 · 245 阅读 · 0 评论 -
C: extern 关键字总结
C extern keyword一、declaration and definition Thedeclarationofa variable/ functionsimply declares thatthe variable/ functionexists somewherein...原创 2019-04-18 08:03:36 · 409 阅读 · 0 评论 -
CPU的执行过程
1. 编译 程序要被CPU执行,首先要编译成CPU可以执行的指令操作。要理解编译的过程,首先要理解CPU的架构,CPU架构也就是CPU指令集架构(指令:汇编指令或者机器指令,比如Add,是汇编指令,而对应的机器指令在MIPS下就是000000),CPU架构当前有Intel的X86架构、ARM的ARM架构、MIPS的MIPS架构和DEC的Alpha架构。指令集是指挥CPU如何运算的硬程序...翻译 2019-07-26 09:48:47 · 7110 阅读 · 0 评论