https://github.com/ole/picobello
An assembler for the Microchip PIC instruction set, written in Swift.
https://github.com/ole/picobello
assembler microchip-pic swift
Last synced: 8 months ago
JSON representation
An assembler for the Microchip PIC instruction set, written in Swift.
- Host: GitHub
- URL: https://github.com/ole/picobello
- Owner: ole
- License: mit
- Created: 2019-11-25T17:28:36.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2021-05-03T10:51:35.000Z (about 5 years ago)
- Last Synced: 2025-03-25T02:40:17.935Z (about 1 year ago)
- Topics: assembler, microchip-pic, swift
- Language: Swift
- Homepage:
- Size: 37.1 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Picobello
A disassembler and (eventually, hopefully) assembler for the Microchip PIC instruction set, written in Swift.
## Status
Very experimental, incomplete, and untested. Currently only the disassembler is functional. And I only support the PIC10F20x instruction set for now.
 
## Usage
The executable is called "picob".
### Disassemble a .hex File
```sh
$ swift run picob disassemble
```
If you don't have a .hex file at hand, you can pass the `--sample` flag to disassemble a hardcoded sample file:
```sh
$ swift run picob disassemble --sample
```
### Print Usage Information
```sh
$ swift run picob --help
OVERVIEW: PIC instruction set assembler
USAGE: picob
OPTIONS:
--version, -v Print version information and exit
--help Display available options
SUBCOMMANDS:
disassemble Disassemble a .hex file
```
## Author
Ole Begemann, [oleb.net](https://oleb.net).
## License
MIT. See [LICENSE.txt](LICENSE.txt).