Mac OS 安装 Ophis

详见Ophis官网

下载代码

前往Release页面下载Ophis-x.x.tgz,解压备用

安装Lib

将解压后文件夹中的lib/Ophis复制到/Library/Python/2.7/site-packages/Ophis

安装命令

将文件夹中的./ophis复制到/usr/local/bin

测试

终端输入ophis --help测试是否安装成功

sistine:~ rumia$ ophis --help
Usage: ophis [options] srcfile [srcfile ...]

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -o OUTFILE            Output filename (default 'ophis.bin')
  -l LISTFILE           Listing filename (not created by default)
  -m MAPFILE            Label-address map filename (not created by default)

  Input options:
    -u, --undoc         Enable 6502 undocumented opcodes
    -c, --65c02         Enable 65c02 extended instruction set
    -4, --4502          Enable 4502 extended instruction set

  Console output options:
    -v, --verbose       Verbose mode
    -q, --quiet         Quiet mode
    --no-warn           Do not print warnings

  Compilation options:
    --no-branch-extend  Disable branch-extension pass

猜你喜欢

转载自blog.csdn.net/u011570312/article/details/114926496
今日推荐