Skip to main content
gamedev.net
🔒 Locked

more assembly problems [asm]

Started by exorcist_bob 0 replies 300+ views
Original Post
exorcist_bob
exorcist_bob
Hello, For some reason, the value of eax changes between

Matrix3 matReturn;

__asm
{
	mov			edx, dword ptr[mat]
	mov			ebx, dword ptr[this]
	mov			eax, dword ptr[matResult] //here

	fld         dword ptr [ebx] // and here
	fadd        dword ptr [edx] // and here
	fstp        dword ptr [eax] // and here

The value at the end is some random value close to the original. Thanks, exorcist_bob

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.