WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
 
Forum
Pages (6) [1] 2 3 4 5 6   ( Go to first unread post )

Make error for my DOS projects, my assembly code assembles just fine, but when linked gives "Make error: Cannot create process".

vijac
Quote Post


New Member
*

Group: Members
Posts: 16
Member No.: 491
Joined: 4-September 04


The code below compiles but when linked gives the following error,

'Make error: Cannot create process'

CODE
.model small
.stack
.data
message   db "DOS assembly!!", "$"

.code

_main   proc
  mov   ax, seg message      
  mov   ds,ax

  mov   ah,09
  lea   dx,message
  int   21h

  mov   ax,4c00h
  int   21h
_main   endp
end _main


Thanks for any help.

Sponsored Links
PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2308
Member No.: 1
Joined: 12-May 04


Cannot create process means the linker is not found. You have to obtain the 16-bit linker (e.g. from iczelion's site), rename it to link16.exe and put it in your bin directory

please let me know if it helps,

Antonis
PMEmail PosterUsers Website
Top
vijac
Quote Post


New Member
*

Group: Members
Posts: 16
Member No.: 491
Joined: 4-September 04


Downloaded linker16 file which went automatically to C:\WinAsmStudio\masm32\bin folder. Dos program assembles and does not link ('cannot create process' error). Downloaded linker again but to a separate masm32 folder on the C directory. Dos program now assembles, links but when run a WinAsm Studio message box appears saying 'Execution Failed!'.
My binary path is C:\masm32\Bin
PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2308
Member No.: 1
Joined: 12-May 04


Hi,

To me 'Execution Failed!' means that the executable has not been produced. Probably some settings in the Make Options of your project OR you don't have a proper 16-bit linker. Attach is a working 16-bit DOS project based on your code. If you cannot compile it properly, please copy all text from your output window and paste it here.

I hope it helps,

Antonis

Attached File ( Number of downloads: 249 )
 Login or Register to download
PMEmail PosterUsers Website
Top
vijac
Quote Post


New Member
*

Group: Members
Posts: 16
Member No.: 491
Joined: 4-September 04


Your code worked fine. wink.gif
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (6) [1] 2 3 4 5 6  Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian