lc3-vm

justinmeiners更新放缓

用 C 语言手把手实现 LC-3 计算机虚拟机,配合文学编程讲解指令解码、内存与寄存器模拟,适合学习底层原理。

Write your own virtual machine for the LC-3 computer!

1.0.5发布于 2022-07-15 04:47 UTC2,100star223fork同步于 2026-11-07 07:34 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

跟着教程从零实现 LC-3 计算机虚拟机,理解 VM 与指令模拟原理

用 C 语言手把手实现 LC-3 计算机虚拟机,配合文学编程讲解指令解码、内存与寄存器模拟,适合学习底层原理。

核心能力

  • 提供完整教程与配套源码,逐步实现 LC-3 虚拟机
  • 以 .lit 文学编程文件同时生成文档与代码
  • 覆盖 LC-3 指令集模拟的核心实现
  • 代码采用 MIT 许可,可自由复用与修改

容易踩的坑

文档和源码由 .lit 文件经 srcweave 生成,直接改生成文件会被覆盖;需先按教程链接阅读原文,README 本身不含运行步骤;README 未给出构建与运行命令,需自行参考教程

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本1.0.5
  1. 1.0.5最新正式版2022-07-15 · 2022-07-15 04:47 UTC
    • Updated to new version of srcweave.
    • Minor organizational and formatting corrections.
  2. 1.0.42022-03-26 · 2022-03-26 06:53 UTC
    查看更新说明
    • Move from Literate to srcweave.
    • Improved document readability and appearance.
    • Minor textual fixes.
  3. 1.0.32022-01-02 · 2022-01-02 02:10 UTC
    查看更新说明
    • Bug fixed related to trap codes.
  4. 1.0.22021-02-28 · 2021-02-28 00:47 UTC
    查看更新说明

    Change the way projects are contributed, add windows support, and add a few supplies contributed by the community.

  5. 1.0.12018-12-22 · 2018-12-22 03:27 UTC

    这个版本没有写更新说明。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    LC-3 VM

    READ TUTORIAL HERE

    This is a tutorial and source code for creating a VM of the LC3 computer.

    Editing

    The documentation and source are generated from the .lit file using srcweave. If you don't want to go through the trouble of setting it up, your contributions are welcome. Just make your edits the .lit file, and we can regenerate it for you.

    License

    This applies to the article and figures:

    CC BY-NC-SA 4.0

    This applies to all code:

    MIT License

    Copyright (c) 2022 Justin Meiners

    Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

    The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.