寻址模式在物理层面如何工作?
我正在努力学习有关处理器的基本知识,每所大学的每个计算机系都应该教授这些知识。然而我在网上找不到它(谷歌没有帮助),我在我的课堂材料中也找不到它。
您是否知道有关寻址模式如何在物理层面上工作的好资源?我对英特尔处理器特别感兴趣。
I'm trying to learn this basic thing about processors that should be taught in every CS department of every university. Yet i can't find it on the net (Google doesn't help) and i can't find it in my class materials either.
Do you know any good resource on how addressing modes work on a physical level? I'm particularly interested in Intel processors.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可能想看一下 Tanenbaum 的《现代操作系统》一书。
如果您对 x86 架构感兴趣,英特尔手册可能会有所帮助(但它们非常深入)
http ://www.intel.com/products/processor/manuals/
You might want to take a look into the book "Modern Operating Systems" from Tanenbaum.
If you are interested in the x86 architecture the Intel Manuals might help (but they go really deep)
http://www.intel.com/products/processor/manuals/
从维基百科虚拟内存页面开始了解一些背景知识,然后跟进特定页面,例如 MMU 等,以满足您的需求好奇心。
您通常会在任何像样的计算机体系结构课程中详细介绍上述所有概念(以及更多概念,例如管道和超标量体系结构、缓存等),通常由(电气或计算机)工程学院教授。
Start on the Wikipedia Virtual Memory page for a bit of background, then follow up with specific pages such as the MMU etc. as to satisfy your curiosity.
You will normally go in detail over all of the above concepts (and some more, such as pipelined and superscalar architectures, caches, etc.) in any decent Computer Architecture course, typically taught by the Faculty of (Electrical or Computer) Engineering.
此页面可能会有所帮助。我搜索了 HC12 寻址模式,因为这就是我们学习的内容,并且在简单的处理器上学习比跳入像英特尔处理器这样的深层次要好得多。不过,对于任何处理器来说,基本概念都应该相似。
http://spx.arizona。 edu/ECE372/Supporting%20Documents/lecture/HCS12%20Addressing%20Modes%20and%20Subroutines.pdf
我不认为您需要在入门课程中了解任何更复杂的内容。我们只真正使用了基本的,然后必须在考试中解释其他一些。
如果您了解汇编代码示例,您应该能够从中看到物理层面上发生的情况。例如,固有寻址命令 inca 将使用处理器内的一组逻辑门( http://en.wikipedia.org/wiki/Adder_%28Electronics%29),以便将寄存器 A 加一。这一切都很好,但试图理解比这更复杂的物理层只会让你头疼。你真的不需要知道它,这就是使用微处理器的首要目的。
This page might help. I did a search for HC12 addressing modes since that's what we learnt with, and it is MUCH better to learn on a simple processor rather than jumping into the deep end with something like an Intel processor. The basic concepts should be similar for any processor though.
http://spx.arizona.edu/ECE372/Supporting%20Documents/lecture/HCS12%20Addressing%20Modes%20and%20Subroutines.pdf
I wouldn't imagine you'd need to know any of the more complicated ones in an introductory course. We only really used the basic ones, then had to explain a few of the others in our exam.
You should be able to see what's going on on a physical level from that provided you understand the assembly code examples. The inherent addressing command inca for example is going to use a set of logic gates within the processor (http://en.wikipedia.org/wiki/Adder_%28electronics%29) in order to increment register A by one. That's all well and good but trying to understand the physical layer of anything more complicated than that is just going to give you headaches. You really don't need to know it, which is the whole point of using a microprocessor in the first place.