查看手册如何翻译(计算机体系结构) [英] Seeing how Instructions get Translated (Computer Architecture)

查看:295
本文介绍了查看手册如何翻译(计算机体系结构)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有点混乱的问题。但我真的在寻找一些低级程序设计。事情就是,开发板像Arduino / Etc。真的隐藏了很多事情。



我花了一些时间了解计算机体系结构,逻辑/门/顺序逻辑等(我甚至去了学习与所有这些相关的半导体和电子学的物理学,只是为了知道究竟是怎么回事,以及如何使用CMOS晶体管等等)。



但是关于它结束的地方....我想能够理解一个指令(像Hex /或Assembly / etc ..代码)如何通过一个简单的可能的计算机(许多书我使用过直接从盖茨到电脑....没有真正的中间)。甚至像简单的东西..... .....在一个寄存器或内存位置存储一个值(也可能打印到一个像素或某物)。



有趣的是甚至可能甚至写一个模拟器。我有高级语言的经验,但是我听说过6502可能是一个很好的开始,因为你使用了大量的程序,并且指令集不是太大。


$ b $有没有人知道任何可能有帮助的资源/想法/书籍?我已经经历了计算机系统的元素,而......这是一本好书,我真的不觉得它经历了真​​正的事情,看到它发生了。这可能更多是一个Electronics.stackexchange问​​题,如果是这样我道歉。

解决方案

尝试建立自己的简单的CPU。它不像看起来那么难:
LOGISIM


Little bit of a confusing question. But Im really looking for learning some low level programming. Thing is, Dev boards like Arduino/Etc. really hide alot of whats going on.

I have spent some time learning about Computer Architecture, Logic/Gates/Sequential Logic/etc.. (I went even as far as to learn the Physics of Semiconductors and Electronics related to it all, just to know what exactly is going on, as well as how Gates are made using CMOS Transistors and such).

But thats about where it ends....and I want to be able to understand how an Instruction (Like Hex/or Assembly/etc.. code) is moving through a Simple as Possible computer (alot of books i've used went straight from like Gates to a Computer....without really the in between). Even something simple like.....storing a value in a register or memory location (and maybe printing to a pixel? or something).

I think something that would be interesting would be perhaps even writing an emulator eventually. I have experience with High Level languages, but i've heard something like a 6502 might be a good start since you use alot of Assembly, and the instruction set isn't too large.

Does anyone know of any resources/thoughts/books that might help? I've gone through "Elements of Computing Systems", and while......it is a good book I don't really feel like it goes through whats really going on and seeing it happen. This might be more of a Electronics.stackexchange question, if so I apologize.

解决方案

Try to build your own simple CPU. It isn't as hard as it seems: LOGISIM

这篇关于查看手册如何翻译(计算机体系结构)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆