See Ophis official website for details
Download code
Go to the Release page to download Ophis-x.x.tgz
, decompress and reserve
Install lib
Copy the files in the unzipped folder lib/Ophis
to/Library/Python/2.7/site-packages/Ophis
Install command
Copy the files in the folder ./ophis
to/usr/local/bin
test
Terminal input ophis --help
test whether the installation is successful
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