How to Assemble a small Assembly Program ???

13 views
Skip to first unread message

Walt Perko

unread,
May 13, 2026, 7:37:58 PMMay 13
to Altair 8800
Hi, 

I created the assembly program in NotePad++ 

I saved the file as MONJUMP.ASM

I PCGOT the file into my A: drive on my Oak ZAltair 8800c 

Then tried the following:  

A0>ASM MONJUMP.ASM
CP/M ASSEMBLER - VER 2.0


Bdos Err On M: Select


Why is it looking for M:?  



.

Joseph Corda

unread,
May 13, 2026, 7:59:19 PMMay 13
to Altair 8800
Walt

As I recall the command would be ASM MONJUMP.AAA
The first A is source location
The second A is hex destination
The third is where the prn file is placed 

Take a look at this doc.. 
Joe



--
You received this message because you are subscribed to the Google Groups "Altair 8800" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Altair-8800...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/Altair-8800/58a402c4-75e9-4f1c-879d-5a6f527cf396n%40googlegroups.com.

Patrick Linstruth

unread,
May 13, 2026, 8:05:11 PMMay 13
to Altair 8800
If everything is on the A drive “ASM MONJUMP” will do the job.

If using the simulator, I make a SUBMIT file, like MONJUMP.SUB:

R MONJUMP.ASM
ASM MONJUMP
LOAD MONJUMP
W MONJUMP.HEX
W MONJUMP.PRN
W MONJUMP. COM

A>SUMBIT MONJUMP

Will read the source code file from your host computer, assemble the file, convert the HEX file into a COM file, and then write all the output files back to your host computer.

If you need to make a change, edit MONJUMP.ASM in Notepad, click SAVE, then just run submit again.

Walt Perko

unread,
May 13, 2026, 8:08:58 PMMay 13
to Altair 8800
Hi, 

Yeah, I did a quick query on Google and got back:   ASM FILENAME.ASMAAZ ... that seemed to work.  

I had tried ASM ? but only got back:  

A0>ASM ?

CP/M ASSEMBLER - VER 2.0
SOURCE FILE NAME ERROR

A0>


Not very useful ... 


.

Joseph Corda

unread,
May 13, 2026, 8:21:24 PMMay 13
to Patrick Linstruth, Altair 8800
Walt
I also use a submit file (see my ASM.SUB below).. 
Note my main build drive is CP/M C:

First I edit my <SOURCE>.ASM file on my linux system....then go to simulator and run

SUBMIT ASM <SOURCE> 
     (Note no extension .. the SUBMIT script covers that)
(<SOURCE> is the name ouf your asm source code file)

This will copy <SOURCE> to my CP/M C: drive and compile.,. then display the PRN file.

Hope this helps 
Joe

C>type C:ASM.SUB
R $1/$2.ASM
asm $2.CCC
load $2.COM
type $2.PRN
C>


Patrick Linstruth

unread,
May 13, 2026, 9:16:08 PMMay 13
to Altair 8800
You will probably find the link Joe provided more useful than Google.


While “ASM FILENAME.ASMAAZ” might work, it isn’t right. It should be “ASM FILENAME.AAZ”

ASM assumes a “.ASM” extension. You don’t need to enter it.



Walt Perko

unread,
May 13, 2026, 10:56:40 PMMay 13
to Altair 8800
Hi, 

That's my Typo ... Yes, the command line is:  A:ASM FILENAME.AAZ  and that works great.  

Then after getting the program ASseMbled and LOADed ... I uploaded it to a couple of my computers ... then made a demo video showing it off.  



.

Reply all
Reply to author
Forward
0 new messages