首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >更好地理解计算机与装配

更好地理解计算机与装配
EN

Software Recommendation用户
提问于 2017-12-31 06:03:58
回答 2查看 140关注 0票数 7

我正在努力学习计算机如何使用汇编语言。是否有一些软件,最好是Linux上的软件,可以像冯·诺依曼的计算机架构中描述的那样,模拟带有RAM的CPU,以供学习?如果它是付费软件,价格应该在100美元的预算之内。

以下是我想要的特色:

  1. registersmemory
  2. 暂停并执行指令,如read-eval-print-loop
  3. 演示像instruction pipelining这样的特性。

主要目的是编写一些划痕程序,看看它是如何工作的。

以下是我发现的两个类似的问题:

装配调试器

模拟一台基本计算机

EN

回答 2

Software Recommendation用户

回答已采纳

发布于 2017-12-31 20:54:27

有一个软件可以用RAM?

模拟CPU吗?

CPU Sim似乎符合这一要求。

CPU Sim是一个Java应用程序,允许用户在微码级别设计简单的计算机CPU,并通过仿真在这些CPU上运行机器语言或汇编语言程序。它可用于模拟各种体系结构,包括基于累加器的、类似于RISC的或基于堆栈(如JVM)的体系结构。这是一个有用的工具,教师希望他们的学生能够亲自接触到各种架构,并有机会设计和实现自己的架构,并用机器语言和汇编语言为他们的体系结构编写程序。CPU Sim应用程序是一个完全集成的开发环境,包括以下特性。

代码语言:javascript
运行
复制
Tools for designing a CPU at the register-transfer level:
    Dialogs for specifying the number and width of registers, register arrays, and RAMs.
    Dialogs for specifying the microinstructions (e.g., bit transfers between registers) 
      that are used to implement the machine instructions
    A dialog for specifying the machine instructions, including:
        the number of bits in each instruction
        the opcode value and the number of bits the opcode occupies
        the number of the operands and the properties of each operand
        the semantics of each instruction 
          (as specified by a sequence of microinstructions)
A text editor with syntax highlighting for writing assembly language programs
An assembler for converting assembly programs into machine code for the user's CPU.
A debugger for stepping forward and backward through the execution of such programs, 
  inspecting and optionally changing the machine state after each step.

它是用Java编写的,需要一个JRE,因此可以推测它将在Linux上运行,而且它是免费的。

票数 6
EN

Software Recommendation用户

发布于 2018-12-29 08:00:11

密苏里州立大学开发的火星相当不错。我是在看2014年UCB的CS61C讲座时发现的。

票数 0
EN
页面原文内容由Software Recommendation提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://softwarerecs.stackexchange.com/questions/47850

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档