Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Basic Assembly Language question
Closed Thread
Old 04-01-2006, 07:28 AM   #1 (permalink)
 
Newb Techie

Join Date: Mar 2005

Posts: 39

psyb0rg

Default Basic Assembly Language question

I tried to compile and link the following code:


TITLE Test


INCLUDE Irvine32.inc

.code
main PROC

mov eax,10000h ; EAX = 10000h
add eax,40000h ; EAX = 50000h
mov ebx,20000h ; EAX = 30000h



main ENDP
END main


during thte linking, I get the following error: invalid object module
Anyone know whats wrong here?
I m using MASM 6
psyb0rg is offline  
Old 04-09-2006, 10:56 PM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

probably cant find Irvine32.inc?
horndude is offline  
 
Closed Thread

« binary=c++? | C++ »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On