Files
Interpreter/Doc/executor/执行器入口.md
T
Admin 7c855b1618 文档同步双可执行架构:STCompiler + BytecodeExecutor。
- 12.10 重写为两条命令:STCompiler 编译出 .stb + sidecar,BytecodeExecutor 加载执行
- 12.0 删独立 stc.exe,12.13 依赖方向改为 STCompiler/BytecodeExecutor
- 指令与映像.md 新增「映像文件(.stb)与 sidecar」节,I/O 绑定不进映像
- host/ 改名 executor/,宿主入口.md 重写为执行器入口.md
- README / tests / examples / isa README 同步
2026-08-19 13:59:50 +08:00

965 B
Raw Blame History

执行器入口

BytecodeExecutor 模块:可执行入口。CMake 目标:BytecodeExecutorEXECUTABLE),链接 vmisa不链 compiler。源码目录 executor/

第一版两个可执行:STCompiler 编译出 <name>.stb<name>.runtime.tomlBytecodeExecutor 加载映像按扫描周期跑。总顺序见 初步计划.md 第 12.10 节。

职责

  • 加载 .stb 映像与 <name>.runtime.toml sidecarI/O 绑定 var → 槽号 → channel/bit
  • 按 sidecar 采样 I、写回 Q(不创造变量)
  • dt_ms / cycle_limit 从映像头取,推进 TON / TOF / CTU
  • 单步、看寄存器和映像、按录制的 I 回放

边界