Why convert FJ to FJM?
FlipJump source in .fj cannot run directly; it must be assembled into a .fjm binary of flip-and-jump segments to execute. Turning .fj into .fjm is the standard build step, done with the official Python assembler.
How to convert FJ to FJM
FlipJump fj assembler
Install with pip install flipjump, then run fj --asm your.fj -o your.fjm to assemble the source into the .fjm binary.
fj assembler with custom width
Add the -w [WIDTH] flag, e.g. fj --asm your.fj -o your.fjm -w 16, to assemble against a specific memory width instead of the 64-bit default.
About these formats
A .fj file is source code written in FlipJump, an esoteric one-instruction programming language whose only operation flips a bit and then jumps to an address. The file is plain text, so any…
Open .FJ details →A .FJM file is a data file used by specific software.
Open .FJM details →Quality & what to watch
- The
.fjmis a compiled binary of flip/jump segments and is not human-readable like the.fjsource. - Choosing the wrong memory width with
-wcan produce a.fjmthat behaves incorrectly, so match the width your program expects. - You need Python and the flipjump package installed; there is no online assembler for this.
Frequently asked questions
What command assembles a .fj into a .fjm?
fj --asm your.fj -o your.fjm after installing the flipjump package with pip install flipjump.Do I need anything besides the fj command?
flipjump pip package, which provides the fj assembler and interpreter.What is the -w flag for?
-w 16, which affects how the .fjm is assembled.Can I run a .fj file without assembling it?
.fjm; the fj tool assembles and can also run it in one step, but a .fjm is what actually executes.