Kolera
18/02/2006, 11:32
Merhabalar. arkadaslar asmye henuz yeni basladim. RadASM & Masm kullanmaya calisiyorum. Cok fazla anlayamasamda Iczelion'un dokumanlarini ve sitesinde bulunan linklerdeki tutorialleri okumaya calisiyorum lakin karsilastigim sorunlari arastiramiyorum cunku sorunun nerede oldugunu kestiremiyorum.
bu konuda soru sormak istedim. yapamayinca daha da hirslaniyorum arastiriyorum ama cikan seyler cok agir konular oluyor.
.386P
Locals
jumps
.Model Flat ,StdCall
mb_ok equ 0
hWnd equ 0
lpText equ offset text
lpCaption equ offset caption
extrn ExitProcess : PROC
extrn MessageBoxA : PROC
.Data
text db "Hello World",13,10 ; first row of the text(with word-wrap)
db "_masta_ greets everybody who reads this tut",0
caption db "Hello",0
.Code
Main:
push mb_ok ;PUSH value for uType
push lpCaption ;PUSH Pointer to Caption
push lpText ;PUSH Pointer to Text
push hWnd ;PUSH Masterhandle
call MessageBoxA ;CALL MessageBoxA
CALL ExitProcess ;End (exit) program
End Main
simdi RadASM ile derledigimde
Assembling: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rad4BE.asm
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rad4BE.asm(3) : error A2008: syntax error : Locals
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rad4BE.asm(4) : error A2008: syntax error : jumps
Make error(s) occured.
Total compile time 516 ms
gibi bir hata ile karsilasiyorum. Simdi bu kodun calisabilir halini bana verebilecek veya neden hata aldigimi anlatabilecek bir arkadas olursa cok cok sevinirim. en azindan iki kodu incelerim hatanin nerede oldugunu anlamaya calisirim.
tesekkur ederim kolay gelsin.
bu konuda soru sormak istedim. yapamayinca daha da hirslaniyorum arastiriyorum ama cikan seyler cok agir konular oluyor.
.386P
Locals
jumps
.Model Flat ,StdCall
mb_ok equ 0
hWnd equ 0
lpText equ offset text
lpCaption equ offset caption
extrn ExitProcess : PROC
extrn MessageBoxA : PROC
.Data
text db "Hello World",13,10 ; first row of the text(with word-wrap)
db "_masta_ greets everybody who reads this tut",0
caption db "Hello",0
.Code
Main:
push mb_ok ;PUSH value for uType
push lpCaption ;PUSH Pointer to Caption
push lpText ;PUSH Pointer to Text
push hWnd ;PUSH Masterhandle
call MessageBoxA ;CALL MessageBoxA
CALL ExitProcess ;End (exit) program
End Main
simdi RadASM ile derledigimde
Assembling: C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rad4BE.asm
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rad4BE.asm(3) : error A2008: syntax error : Locals
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Rad4BE.asm(4) : error A2008: syntax error : jumps
Make error(s) occured.
Total compile time 516 ms
gibi bir hata ile karsilasiyorum. Simdi bu kodun calisabilir halini bana verebilecek veya neden hata aldigimi anlatabilecek bir arkadas olursa cok cok sevinirim. en azindan iki kodu incelerim hatanin nerede oldugunu anlamaya calisirim.
tesekkur ederim kolay gelsin.