| View previous topic :: View next topic |
| Author |
Message |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Wed Jun 06, 2007 7:36 pm Post subject: Help |
|
|
Sportskid300 made a TuT on ASM in ms section and put a link to MASM32
i downloaded and when u open QEditor he said put this in:
include \masm32\include\masm32rt.inc ; (1)
.code ; (2)
start: ; (3)
call main ; (4)
exit ; (5)
main proc ; (6)
print chr$("Hello world!",10) ; (7)
inkey "Enter any key to continue...." ; (
ret ; (9)
main endp ; (10)
end start ; (11)
then go save as and name it waht you want and then go to Project and then click Console Link & assemble so i did that then CMD comes up and says fatal error i was talking to sportskid300 on msn but he had to go anyone help please?
Edit:Link to sportkids300 ASM TuT http://www.forum.cheatengine.org/viewtopic.php?t=92760 _________________
Last edited by Mussy69 on Wed Jun 06, 2007 8:05 pm; edited 1 time in total |
|
| Back to top |
|
 |
TheSorc3r3r I post too much
Reputation: 0
Joined: 06 Sep 2006 Posts: 2404
|
Posted: Wed Jun 06, 2007 8:00 pm Post subject: |
|
|
What was the fatal error? Generally one needs to know a problem to solve it. _________________
Don't laugh, I'm still learning photoshop! |
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Wed Jun 06, 2007 8:02 pm Post subject: |
|
|
k h/o il redo it so it comes up with the error and il put it here
Edit: H/O thats the wrong source code but they both come up with the errors but diff 1's il giv u the source code you supposed to use and il tell you the error
2nd Edit: i edited my first post thats the real source code supposed to be used
3rd Edit: Assembling: C:\masm32\first.asm
C:\masm32\first.asm(14) : error A2046: missing single or double quoatation mark in string
it says this like 50 times it used to be diff used to be a fatal error _________________
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Wed Jun 06, 2007 8:49 pm Post subject: |
|
|
someones lazy....
| Code: | | include \masm32\include\masm32rt.inc |
_________________
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Wed Jun 06, 2007 8:52 pm Post subject: |
|
|
| why not? makes it a whole lot more readable also. |
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Wed Jun 06, 2007 8:54 pm Post subject: |
|
|
anyways it should assemble fine... or you can just use the mc.exe command and the link command.... read up on more masm stuff. _________________
|
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Wed Jun 06, 2007 9:00 pm Post subject: |
|
|
| sponge wrote: | someones lazy....
| Code: | | include \masm32\include\masm32rt.inc |
|
thats what mine says and whos lazy?
Edit: its always diff error jus then i put this in:
include \masm32\include\masm32rt.inc ; (1)
.code ; (2)
start: ; (3)
call main ; (4)
exit ; (5)
main proc ; (6)
print chr$("Hello world!",10) ; (7)
inkey "Enter any key to continue...." ; (Cool
ret ; (9)
main endp ; (10)
end start ; (11)
cmd comes up with this
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
Assembling: C:\masm32\First.asm
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved
LINK : fatal error LNK1104: cannot open file "\masm32\lib]masm32.lib"
_
Link error
Press any key to continue . . .
and then i press any key to continue and it jus closes instead of compiling
someone help please?
2nd Edit: when it said missing masm32.lib i copy others then pasted em then renamed em to the missing after that it kept coming up with other missing .lib files so then i put em in there then after all teh files were in there cmd comes up with another error saying
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
Assembling: C:\masm32\First.asm
Microsoft (R) Incremental Linker Version 5.12.8078
Copyright (C) Microsoft Corp 1992-1998. All rights reserved
First.obj : error LNK2001: unresolved external symbol _StdOut04
First.obj : error LNK2001: unresolved external sumbol _Wait_key00
First.exe : fatal error LNK1120: 2 unresolved externals
_
Lin error
Press any key to continue . . .
same thing again if i press any button it closes cmd.exe
help please _________________
Last edited by Mussy69 on Wed Jun 06, 2007 9:19 pm; edited 1 time in total |
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Wed Jun 06, 2007 9:15 pm Post subject: |
|
|
| Code: |
include \masm32\include\masm32rt.inc ; (1)
.code ; (2)
start: ; (3)
call main ; (4)
exit ; (5)
main proc ; (6)
print chr$("Hello world!",10) ; (7)
inkey "Enter any key to continue...." ; (8)
ret ; (9)
main endp ; (10)
end start ; (11) |
ml.exe /c /coff first.asm
link.exe /subsystem:windows first.obj _________________
|
|
| Back to top |
|
 |
Mussy69 Grandmaster Cheater
Reputation: 0
Joined: 09 Mar 2007 Posts: 842 Location: Sydney
|
Posted: Wed Jun 06, 2007 9:34 pm Post subject: |
|
|
sorry im not really smart with coding go on msn please add me my email adress is [email protected] im on now waiting for you thanks
Edit: Sponge could you please add me now?
2nd Edit: im gonna try FASM _________________
|
|
| Back to top |
|
 |
|