Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

x64 assembly

Featured Replies

Posted

in visual c++ 2005 x64 it doesn't support the inline assembly __asm

so to write assembly i must write it in a .asm file then call it from my code

i need a tutorials for writing x64 assembly and how to call it as a function from c++

or at least i nead an x64 IDE assembler

thnx in advance

Hi,

You can use fasm for x64 asm coding .

Or you can code x64 asm in masm and link the generated .obj file with your application, i don't have x64 compiler to test but i think it's the same as linking x86 .obj files .

  • 2 weeks later...
  • Author

thanx for ur reply

I have added a file .asm to my x64 VS2005 project it compiles well using masm compiler

but when linking it gives me this error

fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

even the project build well (previous error didn't appear)in x64 without the file .asm

do any one what is the solution for this

Hi,

You can use fasm for x64 asm coding .

Or you can code x64 asm in masm and link the generated .obj file with your application, i don't have x64 compiler to test but i think it's the same as linking x86 .obj files .

Last time I compiled a x64 app, it is. You just select the x64 building option in your project settings, if you have the x64 compile set installed.

Though, I use MSVC2008, which supports x64 fully, and even when cross-compiling....

  • Author

Hi,

You can use fasm for x64 asm coding .

Or you can code x64 asm in masm and link the generated .obj file with your application, i don't have x64 compiler to test but i think it's the same as linking x86 .obj files .

Last time I compiled a x64 app, it is. You just select the x64 building option in your project settings, if you have the x64 compile set installed.

Though, I use MSVC2008, which supports x64 fully, and even when cross-compiling....

i had done all what u said but it still give me the same error

fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

even the assembly file i added in the project is in another project which compile & link (Build) successfully

there are 2 version of masm,masm x86 and masm x64.

ml.exe and ml64.exe

Microsoft ® Macro Assembler (x64) Version 9.00.21022.08

maybe use proper one.

Edited by human

  • Author

there are 2 version of masm,masm x86 and masm x64.

ml.exe and ml64.exe

Microsoft ® Macro Assembler (x64) Version 9.00.21022.08

maybe use proper one.

Great thanks to all of you :flowers:

i figured the solution at last :thumbsup:

right click on the asm file - properties

in the custom build step write this in the command line

ml64.exe /DWIN_X64 /Zi /c /Fl /Fo $(IntDir)\$(InputName).obj $(InputName).asm

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.