WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
 
Forum
Pages (2) [1] 2   ( Go to first unread post )

X64 compile extension, WinAsm Studio Add-In that helps you write and compile x64 assmebly code.

Pnluck
Quote Post


New Member
*

Group: Members
Posts: 2
Member No.: 5701
Joined: 8-December 07


Today I downloaded WinAsm to write some x64 asm codes, and I saw that there aren't anything for x64 architetture: highlight, and etc.., so I made a lame addin:

http://pnluck.netsons.org/soft/x64Compile.rar

It's too lame to be serius, however you can compile a source for x64 in 5 steps:
1) load the plugin
2)Change the Project release fields in this way:
assemble: /nologo /SUBSYSTEM:WINDOWS /RELEASE - this can be void
link: kernel32.lib user32.lib
3)Find the "x64 Compile" into menus (often it is into Make Menu)
4)Find ml64.exe e kernel32.lib into the Microsoft DDK/SDK - only the first time
5)Click on Compile and to be lucky tongue.gif

First of all you should make a new win Project where I wrote this:

CODE
extrn MessageBoxA : proc
extrn ExitProcess : proc

.data
body db 'Hello World!', 0
capt db 'My First x64 Application', 0

.code
Main proc
sub rsp, 28h
xor r9d, r9d � � �; uType = 0
lea r8, capt � � �; lpCaption
lea rdx, body � � �; lpText
xor rcx, rcx � � �; hWnd = NULL
call MessageBoxA
xor ecx, ecx � � �; exit code = 0
call ExitProcess
Main endp

end


I repeat, it's too lame to be serius.

I hope with this one, to get, for the next version of WinAsm Studio: the support for x64 architetture: hightlight, his voices in files&paths, and in the make menu.
Made this things, shouldn't be soo difficulties wink.gif

For info: http://ntcore.com/Files/vista_x64.htm#x64_Assembly

That's all! biggrin.gif

Sponsored Links
PMEmail Poster
Top
samael
Quote Post


Typo-lord
******

Group: Moderators
Posts: 404
Member No.: 5187
Joined: 10-June 07


Hi Pnluck, and welcome to the forums!

You are right, as more people move into the x64 architecture, it gets more & more necessary to build support for the x64 tools into the IDE.

Personally, i don't have access to a x64 machine & OS, so i didn't had the chance of experimenting with x64 assembly (and test your addin), but on behalf of the community, i would like to thank you for sharing your work!
PM
Top
Pnluck
Quote Post


New Member
*

Group: Members
Posts: 2
Member No.: 5701
Joined: 8-December 07


I update x64Compile, now in the dialog will display the output of ml64: so, you can see errors messages, etc..
Now this extension is really useful wink.gif
PMEmail Poster
Top
akyprian
Quote Post


Administrator
******

Group: Admins
Posts: 2308
Member No.: 1
Joined: 12-May 04


Welocme to winasm.org, Pnluck.

Thanks for sharing this nice Add-In. Really useful. Keep it up, please!

Regards,

Antonis
PMEmail PosterUsers Website
Top
owner_bsp
Quote Post


New Member
*

Group: Members
Posts: 19
Member No.: 29597
Joined: 3-December 09


You need to get winres.h. Its not shipped with express versions, but look in Platform SDK samples and you will find it after that copy it into PSDK include directory and you are good to go.
PMEmail PosterUsers WebsiteIntegrity Messenger IMICQAOLYahooMSN
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Pages (2) [1] 2  Reply to this topicStart new topicStart Poll

 

Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian