• Please review our updated Terms and Rules here

SC131 Can Not Assemble With ASM

KenUnix

Member
Joined
Nov 26, 2022
Messages
30
Hi.

Am trying to assemble a simple assembler program but the following happens:

A>b:asm dump.asm
CP/M ASSEMBLER - VER 2.0

Bdos Err On M: Select <<-- Why is it trying to access drive M:. M: does not exist.

A>dir m:
Bdos Err On M: Select

Thanks
 
Does the source code (dump.asm) try to include a file from the 'M' drive at all?

EDIT: Ah, RTFM! You do not specify the file extension...

If you do (.asm in your example) it doesn't do what you think it does...

The individual letters 'a', 's' and 'm' are taken as three parameters:

'a' - the disk drive containing the source file.
's' - the disk drive to receive the assembled object/hex file.
'm' - the disk drive to receive the assembler listing file.

So, the assembler is trying to store the listing file on drive M:...

Omit the '.asm' file extension - or use it to specify the parameters to ASM to correctly assemble your file.

See http://www.cpm.z80.de/randyfiles/DRI/ASM.pdf pages 1 and 2.

By the way, welcome to VCFED.

Dave
 
Last edited:
See attached a copy of DUMP. Renamed to DUMP.TXT so it would upload.

I have been away from assembler for too many years!

Thanks
 

Attachments

  • DUMP.TXT
    4.1 KB · Views: 2
I had that same problem where I had included the file extension. Took me a bit to figure it out too. So you are not alone here.
 
I believe DRI got many complaints about that. By the time they came out with MAC/RMAC they had changed how input/output drives were specified, and the file extension/type could be specified.
 
OK. Then today how would I assemble and create a executable commend from a hex file?
 
You do your assemble by the step you listed. "asm dump". This will create the hex file. Then you "load dump" to create the COM file to run.
 
Back
Top