Author Topic: RadASM and 64bit code  (Read 7404 times)

johnsa

  • Member
  • ****
  • Posts: 806
    • Uasm
RadASM and 64bit code
« on: December 02, 2012, 09:12:04 AM »
Hey,

Is there anyway to get RadASM to ignore the FRAME directive in a 64bit PROC declaration so that code-completion/intellisense still works?
IE:

MyProc PROC FRAME USES rbx aParameter:QWORD
ret
MyProc ENDP

Will showup as [MyProc,FRAME] in the intellisense/code-complete tooltip. This is quite annoying so it would be great to solve :)
Thanks
John

qWord

  • Member
  • *****
  • Posts: 1473
  • The base type of a type is the type itself
    • SmplMath macros
Re: RadASM and 64bit code
« Reply #1 on: December 02, 2012, 10:19:31 AM »
In the file jwasm or masm.ini you can add FRAME in the section [Parse], the line beginning with Ignore:

Quote
Ignore=1,option,1,include,1,includelib,1,invoke,7,private,7,public,7,FRAME,7,....



BTW: I've modified RadAsm thus it recognize 64 Bit registers. This enables the code complete for expressions like: [rax].Struct.member. If wished, I can upload the executable and source.
MREAL macros - when you need floating point arithmetic while assembling!

johnsa

  • Member
  • ****
  • Posts: 806
    • Uasm
Re: RadASM and 64bit code
« Reply #2 on: December 02, 2012, 11:04:59 AM »
Hi,

Thanks for the info. That would be much appreciated!
I love RadASM, but it seems to be needing some attention. There are quite a few bugs in 3 which aren't resolved.
(Most annoyingly with the file browser, create new file and save and it just saves it as (Untitled)" etc.
I've been using Sublime Text recently, I really love the feel of it as an editor.. a merge of the two would be ideal.

qWord

  • Member
  • *****
  • Posts: 1473
  • The base type of a type is the type itself
    • SmplMath macros
Re: RadASM and 64bit code
« Reply #3 on: December 02, 2012, 11:39:02 AM »
In the attachment RadAsm.exe and the source file that was modified (the rest can be obtained through https://fbedit.svn.sourceforge.net/svnroot/fbedit/RadASM30/  )

qWord
MREAL macros - when you need floating point arithmetic while assembling!