User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Assembly section within the Software Development category of DaniWeb, a massive community of 392,007 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,187 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Assembly advertiser:
Views: 926 | Replies: 0
Reply
Join Date: Aug 2007
Posts: 2
Reputation: kedar.potdar is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
kedar.potdar kedar.potdar is offline Offline
Newbie Poster

Question 64 bit programming issue ...

  #1  
Aug 24th, 2007
Hi,

I am currently porting 64 bit application with C and Assembly code (x86-64) from Linux to windows.

I am using Microsoft C-Compiler 2005 and Yasm for compiling C and assembly code respectively.

I have modified the assembly files as per the 64-bit ABI specification for windows and i do get expected results when i use “RTCs” flag which is meant for stack pointer verification. This flag also requires optimization flags to be turned off.

The problem starts when i dont use the “RTCs” (which is the case in release version) it tries to access initial locations (0×04a0) of memory in C-code.

I suspect that it has something to do with calling convention mismatch when control gets transferred from assembly to C-function.

Any help in this regard would be highly appreciated.

With warm regards,
KEDAR
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Assembly Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Assembly Forum

All times are GMT -4. The time now is 10:15 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC