flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > Calculator for Win32

Goto page Previous  1, 2, 3
Author
Thread Post new topic Reply to topic
tthsqe



Joined: 20 May 2009
Posts: 721
tthsqe
You are correct
Code:
                     invoke  VirtualAlloc,0,32*INIT_CONST_TABLE_ENTRIES,MEM_COMMIT,PAGE_READWRITE
                        mov  dword[ConstTable],eax
                        sub  eax,32
                        mov  dword[ConstTableTop],eax
                        mov  dword[ConstTableSizeB],32*INIT_CONST_TABLE_ENTRIES
    

That is why the process of putting something in the constant table looks like this
Code:
mov  eax,dword[ConstTableTop]
add  eax,32
movdqa  dqword[eax+0],xmm0
movdqa  dqword[eax+16],xmm1
mov  dword[ConstTableTop],eax    
Post 30 Apr 2013, 13:40
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.