From: Andrew Jarvis on 16 Apr 2007 12:01 My 32 bit assembler code contained the following: jmp [dispatch+ecx*4] dispatch: DD label1 DD label2 To assemble with MASM64, I have changed this to: jmp [dispatch+rcx*8] dispatch: DQ label1 DQ label2 The linker produces "error LNK2017: 'ADDR32' relocation to 'dispatch' invalid without /LARGEADDRESSAWARE:NO" Is it possible to set up a jump table like this using EM64T? Regards, Andrew
From: Theo on 16 Apr 2007 12:43 I think you would be in better company for your question if you posted in the MASM group at: microsoft.public.masm This is primarily a users forum and not highly geared toward the programing side. The MASM grpoup is specifically for Microsoft Assembler and I would suspect a lot of experienced programmers hang out there. Andrew Jarvis wrote: > My 32 bit assembler code contained the following: > > jmp [dispatch+ecx*4] > > dispatch: > DD label1 > DD label2 > > To assemble with MASM64, I have changed this to: > > jmp [dispatch+rcx*8] > > dispatch: > DQ label1 > DQ label2 > > The linker produces "error LNK2017: 'ADDR32' relocation to 'dispatch' > invalid without /LARGEADDRESSAWARE:NO" > > Is it possible to set up a jump table like this using EM64T? > > Regards, > Andrew > >
|
Pages: 1 Prev: XP x64 wont start after sp2 Next: UAC has to be turned off to run MS Office 2007 |