News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

GoAsm gives error

Started by shankle, September 10, 2014, 06:08:30 AM

Previous topic - Next topic

shankle

                             9-9-2014
                     
This is a 64-bit program
Running Windows 7 pro 64-bit and GoAsm
Working program in MASM32
                     
GoAsm.Exe Version 0.58.0.6 - Copyright Jeremy Gordon 2001-2014 - JG@JGnet.co.uk
Error!
Line 288 of assembler source file (wordconv64.asm):-
RDX overwritten by 2nd parameter material: use a register other than RDX
OBJ file not made
J:\codejps>GoLink /unused wordconv64.obj
GoLink.Exe Version 1.0.0.0 - Copyright Jeremy Gordon 2002-2014 - JG@JGnet.co.uk

Saveedx     dd   0                   ; save position in OutFileDat
buf3          db   100 dup (0)     ; used in relative paths
buf4          db   15 dup (0)
OutFileDat  db   'm460.dat',0  ; this is a table         
                db   'm120.dat',0   ; etc 

   lea  edx,offset OutFileDat
   mov [Saveedx],edx

   mov edx,[Saveedx]          ; OutOut File
   invoke GetFullPathName, [Saveedx],100,addr buf3,addr buf4 ; output file
   invoke GetFullPathName, edx,100,addr buf3,addr buf4
   
   Neither one of the GetFullPathName works????
   

qWord

Quote from: shankle on September 10, 2014, 06:08:30 AMWorking program in MASM32
that's nice, but you are trying to write a x64 program! Think about the pointer size, the calling convention and its register usage.
MREAL macros - when you need floating point arithmetic while assembling!

shankle