NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: Luposian on August 12, 2019, 07:41:41 AM

Title: Can you convert ASM86 (CP/M-86) code to NASM?
Post by: Luposian on August 12, 2019, 07:41:41 AM
Is there any way to easily "port" (convert) such code to NASM?
Title: Re: Can you convert ASM86 (CP/M-86) code to NASM?
Post by: Frank Kotler on August 12, 2019, 09:42:39 PM
Hi Luposian,

Welcome to the Forum.

I don't know if you'd call it "easy", but we can produce CPM86 code with Nasm. Unfortunately, I've lost the examples I used to have. Show us what you've got and we'll try to help.

Best.
Frank

Title: Re: Can you convert ASM86 (CP/M-86) code to NASM?
Post by: Luposian on August 12, 2019, 10:36:07 PM
Hi Luposian,

Welcome to the Forum.

I don't know if you'd call it "easy", but we can produce CPM86 code with Nasm. Unfortunately, I've lost the examples I used to have. Show us what you've got and we'll try to help.

Best.
Frank

I don’t want to create ASM86 code in NASM, I want to create NASM versions of ASM86 code.  :-D

Problem is, I have no examples, because I’m not a programmer.  Just hoping to discover if anyone has done it or knows how to.
Title: Re: Can you convert ASM86 (CP/M-86) code to NASM?
Post by: Frank Kotler on August 13, 2019, 12:39:35 AM
Ahhhh...

ASM86 syntax is not Nasm syntax.

I have written code in Nasm that will run in CP/M-86, but  I do not remember how at the moment.

If you are not a programmer - at least temporarily - you probably can't do it.

Best,
Frank