64-bit

Why is default operand size 32 bits in 64 mode?

烂漫一生 提交于 2020-02-06 07:55:36
问题 I am reading Intel doc, vol. 1 and There is a chapter of 3.6.1 Operand Size and Address Size in 64-Bit Mode . There are three prefixes REX.W , operand-size 66 and address-size 67 prefix. And there is mentioned that operand are defaulted to be 32 bit in size. And is only possible to change it with REX.W instruction prefix (after other prefixes) to make it 64 bits long. I do not know why so, why cannot I used the full 64 bit space for example for int operand? Does it have something to do with

How can I compile c++ on (64bit) windows to make a 64bit exe?

≯℡__Kan透↙ 提交于 2020-02-05 07:27:51
问题 Using the g++ compiler that came with code::blocks I can compile 32bit programmes but when I try to compile to a 64bit programme it tells me that 64 bit isn't implemented, even though I have 64bit os. How can I compile c++ to make a 64bit exe? 回答1: Download Microsoft Visual C++, and set the target to 64-bit. Why make programming harder than it needs to be? 回答2: If you are not limited to gcc, you can use Microsoft's compiler from Visual Studio Express 2010 with Windows SDK (both are free) and

64 bit Linux/Ubuntu and openssl issue (could not read symbols: Bad value)

大兔子大兔子 提交于 2020-02-02 02:57:43
问题 Normally I search a lot and read a lot to fix my issues, but for this particular problem, it has been pretty unproductive. I am running a 64bit Ubuntu Linux server on which I installed LAMP stack, and had problem with libcurl not having SSL support, while the OS binary does have SSL support. The PHP just cannot read it. When I searched for solutions and tried doing the following to enable ssl support while installing PHP, I got the problem.. ./configure .... --with-openssl ... .... /usr/bin

Process sizes and differences in behaviour on 32bit vs. 64bit Windows versions

时光怂恿深爱的人放手 提交于 2020-02-01 05:50:06
问题 I am investigating a strange problem with my application, where the behaviour is different on 2 versions of Windows: Windows XP (32-bit) Windows Server 2008 (64-bit) My findings are as follows. Windows XP (32-bit) When running my test scenario, the XML parser fails at a certain point during the parsing of a very large configuration file (see this question for more information). At the time of failure, the process size is approximately 2.3GB. Note that a registry key has been set to allow the

From DOS to Windows 10 assembly [duplicate]

a 夏天 提交于 2020-01-30 11:22:27
问题 This question already has answers here : Converting 16-bit DOS .com assembly for use on 64-bit (1 answer) 16-bit Assembly on 64-bit Windows? (3 answers) How to write hello world in assembler under Windows? (8 answers) Closed 2 years ago . This code will print "Hello, world!" in DOS as a .COM executable: org 100h mov dx,msg mov ah,9 int 21h mov ah,4Ch int 21h msg db 'Hello, world!',0Dh,0Ah,'$' However it will not run on Windows 10 64-bit and all trivial examples of a Helloworld program for x86

calling printf from assembly language on 64bit and 32bit architecture using nasm

强颜欢笑 提交于 2020-01-30 04:04:56
问题 I want to call printf function from assembly language in linux. i want to know the method for for 64 bit and 32 bit assembly language programs. 1) please tell me for two cases if i want to pass a 32 bit arguement and 64 bit arguement in printf with a string. how should i do it? 2) for x86 32 bit architecture if i want to do the same thing as in point 1. please tell me the code. and let me know do i need to adjust the stack for both cases and do i just need to pass the arguements in registers?

Java - Desktop.getDesktop().browse(URI) is supported, but does not open document (a citrix problem?)

不问归期 提交于 2020-01-27 08:26:25
问题 (I am not sure if this is the correct place to ask this question. Please move to suitable site) I have a problem that is shown in below code. It does not work on machine (windows 2008) that has CITRIX Xen App 6-. There is no error, just that browser does not get launched. On my desktop (a windows7 box), it works. package trials; import java.awt.*; import java.io.File; import java.io.IOException; public class Launch { public static void main(String[] args) throws IOException { if (args.length

Java - Desktop.getDesktop().browse(URI) is supported, but does not open document (a citrix problem?)

ぃ、小莉子 提交于 2020-01-27 08:26:04
问题 (I am not sure if this is the correct place to ask this question. Please move to suitable site) I have a problem that is shown in below code. It does not work on machine (windows 2008) that has CITRIX Xen App 6-. There is no error, just that browser does not get launched. On my desktop (a windows7 box), it works. package trials; import java.awt.*; import java.io.File; import java.io.IOException; public class Launch { public static void main(String[] args) throws IOException { if (args.length

How to install Microsoft.ACE.OLEDB.12.0 on Win7 64b with SQLExpress 2008

浪子不回头ぞ 提交于 2020-01-24 21:25:27
问题 I was running VSExpress 2010 C# and SQLExpress 2008 on 32b XP. Due to a failure I am now on Win7 64bit. I have reinstalled VSExpress C# (64b). I installed SQLExpress (64b) however my application uses the Microsoft.ACE.OLEDB.12.0 driver to connect to a Office 2007 (32b) database. I could not get the Microsoft.ACE.OLEDB.12.0 to load on SQLExpress (64b). What do I need to do to get Microsoft.ACE.OLEDB.12.0 working again in SQLExpress? Do I need to run the 32bit version? (I have downloaded it but

How to prompt Matlab to use VS10 64 bit compiler

£可爱£侵袭症+ 提交于 2020-01-24 20:43:25
问题 I am trying to compile and run a 64bit application in MATLAB using the Visual Studio 2010 Professional compiler. I know both the program and the compiler work properly because when I start matlab from the Visual Studio x64 command prompt I am able to run the program without an issue. I have run mex -setup and selected the 2010 compiler as follows: mex -setup Please choose your compiler for building external interface (MEX) files: Would you like mex to locate installed compilers [y]/n? y