Hi there.

I do alot of programming, a bit lazy now due to college :(

I am a newbie at Assembly, learning it in College.

I am going to have an assessment in the week or so, and I hope I pass, with your help if needed :)

i need to know, where can I download/obtain a Windows version of an Assembler IDE but compiles in MS-DOS?

Like, some C programming langauges (miricle C for example) runs in Windows, so it is 32bit (graphical IDE) but compiles the programs in MS-DOS......I hope you know what I mean.

Where can I obtain this?
Posted on 2002-06-04 14:11:52 by Techno
Hi Techno

All Windows IDEs can do this. All you need is a dos linker.

KetilO
Posted on 2002-06-04 14:16:38 by KetilO
eh???

What IDE's?

no they don't, I don't think.

EG...NASM, TASM, MASM don't do this, they run in MS-DOS (8 bit)

I need something like VB (32bit) but links/compiles in MS-DOS.

Any ideas or link please?
Posted on 2002-06-04 14:18:10 by Techno
Hi Techno

I guess what you mean is to write code using a Windows IDE and then assemble and link a program that can be run under dos.
If this is what you mean then all confgurable Windows assembly IDEs can be used for this. Newer versions of masm and tasm runs in a Windows console, mot in 16 bit dos mode.

KetilO
Posted on 2002-06-04 14:53:42 by KetilO
sorry for being a pain in the backside.....where can I obtain the latest versions?

That is exactly what i need, what u just said.

Please help!
Posted on 2002-06-04 15:04:05 by Techno
Hi Techno

Hutch has the masm32 package. You can find links to it on this board. The pack also contains an editor.
Iczelion has a 16 bit linker on his webpage.

KetilO
Posted on 2002-06-04 15:24:16 by KetilO
that's the one! Thanks, I got it. Unfortunatly it does not have syntax corrections (or in other words, colors for correct words)

Do you know where I can obtain this?

EG, in Visualbasic:

if you declare a variable:

dim x as integer

the dim, as, integer will go blue which mean it is a "standard" code built into the IDE.

I hope you can help.

After this, no more Questions to bother you Guru's! :)
Posted on 2002-06-04 15:34:22 by Techno
Hi Techno

On this forum you find AsmEdit, RadASM ant others. They are all intended for Windows program development but can also be used for dos, I think.

KetilO
Posted on 2002-06-04 15:39:25 by KetilO
I LOVE ur version!!!!

But, how do I make the DOS version of a program?

Because, yours tells / asks me to make a Win32 bit project, this is fine but It must be in DOS, if you know what I mean.

What option is it do I select in order to do this?
Posted on 2002-06-04 16:10:51 by Techno
hmmm. I tried this:

title add3pos.asm

.model small
.stack 100h
.code


start:
mov cx, 0ah ;Move value 10 in the al register


again:
mov ah, 8h ;Accept input
int 21h ; do it


add al, 3h ;Add 3 to the value in the al register
mov dl, al ;move the al value register to the dl register
mov ah, 2h ;
int 21h ;Do it

sub cx, 1 ;Subtract 1 from the value in the cx register
jz exit ;jump to exit when = 0
jmp again ;otherwise bak to again


exit:

mov ax, 4c00h
int 21h

end start


and was made in lasm (well, compiled in Lasm, used edit for typing this) and ur Assembler (Make > assemble) produced an error saying that end is required at the end of file?

Any ideas?
Posted on 2002-06-04 16:15:11 by Techno
Hi Techno

It has been many years since I wrote anything for dos. Try to just add 'end' after end start. If this does not help, try asking in the main section as I am shure someone still is making dos programs.

KetilO
Posted on 2002-06-04 16:45:49 by KetilO
thanks for yourtime, greatly appreciated.

Any other IDE's like yours availible?

What is the tecnical name for the IDE I am talking about?
Posted on 2002-06-04 16:52:02 by Techno