Usage

Since version 1.0, the DASM executable is included in the project and XC=BASIC sources can be compiled to machine code using a single command.

Usage in Windows:

xcb.bat source.bas target.prg

Usage in Linux:

./xcb source.bas target.prg

Usage in macOS:

./xcbmac source.bas target.prg

That's all you have to use in most of the cases. However, you can still use the binaries in the bin/ directory to see and debug the intermediate assembly listing.

The command line usage of the binarry is:

xcbasic64 source.bas > target.asm

You can omit the output redirection if you just want to see the result on the screen.

The target then can be compiled using DASM:

dasm target.asm

Or using a singe line command:

xcbasic64 source.bas > target.asm && dasm target.asm

Discussion

Enter your comment. Wiki syntax is allowed:
T U C O D
 
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies