Go to file
jn 2c932cef4b Print parse errors in a somewhat nicer way
Before:

	fox32asm 0.3.0 (94dd0fe)
	Generating raw binary
	Parsing includes...
	Parsing file...
	thread 'main' panicked at 'parse was unsuccessful: Error { variant: ParsingError { positives: [EOI, origin, include_bin, data, constant, label_kind, size, instruction], negatives: [] }, location: Pos(4), line_col: Pos((1, 5)), path: None, line: "nop 42␊", continued_line: None }', src/main.rs:529:60
	note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

After:

	fox32asm 0.3.0 (2abba95)
	Generating raw binary
	Parsing includes...
	Parsing file...
	Error {
	    variant: ParsingError {
		positives: [
		    EOI,
		    origin,
		    include_bin,
		    data,
		    constant,
		    label_kind,
		    size,
		    instruction,
		],
		negatives: [],
	    },
	    location: Pos(
		4,
	    ),
	    line_col: Pos(
		(
		    1,
		    5,
		),
	    ),
	    path: None,
	    line: "nop 42␊",
	    continued_line: None,
	}
2023-02-01 23:34:37 +01:00
.github/workflows GitHub CI: Bump actions/{checkout,upload-artifact} to v3 2023-02-01 23:30:46 +01:00
src Print parse errors in a somewhat nicer way 2023-02-01 23:34:37 +01:00
.gitignore Add .gitignore 2022-06-21 00:08:44 -07:00
build.rs fox32asm: Show version info on startup 2022-01-27 18:35:15 -08:00
Cargo.lock Add mse, mcl, and tlb instructions, bump version to 0.3.0 2022-08-15 17:22:40 -07:00
Cargo.toml Add mse, mcl, and tlb instructions, bump version to 0.3.0 2022-08-15 17:22:40 -07:00
LICENSE Add LICENSE 2022-01-31 01:51:26 -08:00
README.md Prepare for the 1st release 2022-07-31 17:20:28 -07:00

fox32asm

fox32asm is a work-in-progress assembler for fox32.

Getting Started

Stable releases are available on the Releases page.

Prebuilt binaries of the latest commit are also available on the GitHub Actions page.

Usage

fox32asm expects arguments in the following order: fox32asm <input> <output>

<output> should end in the file extension .fxf if building a relocatable FXF binary, otherwise a raw binary will be generated instead.

License

This project is licensed under the MIT license.