FAQ  •  Register  •  Login

How can I use ZXB as Assembler only

<<

Luzie

Posts: 32

Joined: Thu Nov 05, 2015 9:11 pm

Post Mon Feb 13, 2017 9:28 pm

How can I use ZXB as Assembler only

I want to use ZXB "as Assembler only". So no single BASIC statement will be used.

E.g. I just want to assemble this:

ASM
ORG 50000
RET
END ASM

and after compiling this should result in just a .BIN or .TAP-File which contains the single $C9 mcode ($C9=201 dez for RET) and is in memory from adress 50000 dez.

Is there a simple way for doing this?
<<

boriel

Site Admin

Posts: 1463

Joined: Wed Nov 01, 2006 6:18 pm

Location: Santa Cruz de Tenerife, Spain

Post Mon Feb 13, 2017 10:40 pm

Re: How can I use ZXB as Assembler only

Just use the ZX Basic Assembler, included in the distibution.
  Code:
zxbasm -TaB myfile.asm
<<

Luzie

Posts: 32

Joined: Thu Nov 05, 2015 9:11 pm

Post Tue Feb 14, 2017 9:06 pm

Re: How can I use ZXB as Assembler only

boriel wrote:Just use the ZX Basic Assembler, included in the distibution.
  Code:
zxbasm -TaB myfile.asm

Thank you very much. Works like a charm for me!

Return to How-To & Tutorials

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.

phpBB SEO