learningOS开源操作系统社区
  • 首页
  • 训练营
  • 明星学员
  • 共建单位
  • 项目实习
  • 问答论坛
登录
    Copyright © 2024 opencamp.ai All rights reserved.
    为什么Lab1 练习2 “启动后第一条执行的指令“ $PC停留在0xFFF0而不是0xFFFF0
    匿名2023/07/31 19:52:04提问
      lab1student
    359

    按照实验文档:

    修改gdbinit为

    set architecture i8086
    target remote :1234

    然后

    make debug

    但显示却不是

    0xffff0: ljmp $0xf000,$0xe05b

    而是

    The target architecture is assumed to be i8086
    warning: No executable has been specified and target does not support
    determining executable automatically.  Try using the "file" command.
    0x0000fff0 in ?? ()
    Breakpoint 1 at 0xffff0
    => 0xfff0:      add    %al,(%bx,%si)

    为什么会这样呢?

    回答(1)
    即可发布评论
      推荐问答
        Simple Empty
        暂无数据