Questions tagged [64-bit]

A 64-bit architecture is usually a system where addresses (pointers) are 64 bits wide. Sometimes, it can mean a system where the “natural” size for integer computations (the word size) is 64 bits.

The term 64-bit is used for architectures where the address bus and other data units, like the data bus or CPU registers, are 64 bits wide.

64-bit processor architectures include:

  • x86-64 , often known as AMD64, an evolution of 32-bit x86 PC processors by AMD and Intel, found in many server and desktop computers;
  • DEC Alpha, a now-discontinued architecture that was popular on workstations in the 1990s;
  • ppc64, a 64-bit evolution of the PowerPC/POWER processor;
  • SPARC v9 (Ultrasparc and sparc64), 64-bit evolutions of the Sparc architecture;
  • Itanium , also known as IA-64, an architecture by Intel that is not related to IA-32 (which is the name for later generations of x86 processors)
  • MIPS64 , a 64-bit version of the MIPS architecture;
  • ARMv8, an upcoming 64-bit version of the ARM architecture

In C and other languages such as C++ and Objective-C with a similar set of machine integer types including int, long and long long, implementations differ as to which types are 32-bit and which types are 64-bit. Windows follows a model called IL32P64: int and long are both 32-bit, long long (if available) and pointers are 64-bit. On the other hand, most Unix-like systems including Linux and Mac OS X follow the I32LP64 model: int is 32-bit, long and long long and pointers are 64-bit.

6082 questions
3
votes
1 answer

Access local variables in a nested Delphi x64 assembly code

I want to access the local variables of a Delphi procedure from its nested assembly procedure. Although the compiler does allow the references of the local variables, it compiles wrong offsets which only work if the EBP/RBP values are hacked. In the…
3
votes
1 answer

How does 32bit applications run on 64bit Mac?

I am trying to gather some details about how its possible that 32 bit applications work/run on 64 bit Mac and thus will assembly code written considering 64 bit work?
RLT
  • 4,219
  • 4
  • 37
  • 91
3
votes
2 answers

Using 64-bits driver from 32-bits application

I have a Windows application that HAS to run as 32-bits (because of other limitations out of my control). However, my application has to call and access a driver which may be 32-bits or 64-bits depending on the system where it is installed. I access…
Philibert Perusse
  • 4,026
  • 5
  • 24
  • 26
3
votes
2 answers

Working with 64-bit ints and hexes in 32-bit perl

I want to write a perl script to parse text files with a lot of 64-bit integers in it. All integers are written in hex. I need to Read hexes from input Compare 64-bit ints (<, =, >) Subtract 64-bit ints Output 64-bit hexes I need to use 32-bit…
osgx
  • 90,338
  • 53
  • 357
  • 513
3
votes
2 answers

Try to pass argument to C function in Nasm elf64 but it return SIGFPE error

I try to implement the C sqrt function in Nasm elf64, it works correctly without argument (with the value of "a" define in the function), but when I try to pass an argument to this function ,the code return an error "Stopped reason: SIGFPE". Here's…
BerretMan
  • 95
  • 6
3
votes
7 answers

Error while trying to run project: Unable to start debugging

I get the error below when trying to debug an Any CPU console app. When I switch the Platform target to x86, it works fine. I've tried to repair VS2010 and reinstall VS2010. Does anybody have a solution except for a complete windows re-install?
Luuk
  • 1,959
  • 1
  • 21
  • 43
3
votes
0 answers

Are there known issues with the Microsoft.VisualBasic.Compatibility.VB6 namespace in 64 bit processes?

Using classes from the Microsoft.VisualBasic.Compatibility.VB6 namespace in a .NET Framework 4+ project yields the following warning: Warning BC40000: is obsolete: 'Microsoft.VisualBasic.Compatibility.* classes are obsolete and…
Heinzi
  • 167,459
  • 57
  • 363
  • 519
3
votes
2 answers

Microsoft.ACE.OLEDB.12.0 provider is not registered

My application is written in C# and uses Ms-Access 2003 and I want it to run properly in 64-bit Windows installation. I use the data provider as ACE.OLEDB.12.0 in the connection string, but it still gives the exception that Microsoft.ACE.OLEDB.12.0…
Dulini Atapattu
  • 2,735
  • 8
  • 33
  • 47
3
votes
1 answer

How do I build boost universal libraries for x86 and x64 architecture?

Like in the title : How do I build boost universal libraries for x86 and x64 architecture ? Thanks
lollancf37
  • 1,105
  • 3
  • 15
  • 27
3
votes
1 answer

`LL` vs `i64` suffix in C++ Visual Studio compiler

I'm trying to refactor an old C++ code. At some point I've something like: #if defined(WIN32) && !(defined(__CYGWIN__) || defined(__MINGW32__)) # define I64_CONST(X) X ## i64 #else # define I64_CONST(X) X ## LL #endif So for defining a 64-bit…
Jepessen
  • 11,744
  • 14
  • 82
  • 149
3
votes
3 answers

64 bit smpp library for .net

I'm currently using the devshock smpp library. unfortunatly it only appears to be available in 32 bit binaries. Does anyone know if they do a 64 bit version or if there is anywhere that does a decent 64-bit smpp library??
zeocrash
  • 636
  • 2
  • 8
  • 31
3
votes
1 answer

How to set window's icon in Perl to some .ico file on Windows 7?

I was using TK::Icon with Perl 5.8.3 32bit, but it's not supported with Perl 5.10.1 64bit. When I try to install it through ppm, I get: C:>ppm install http://www.bribes.org/perl/ppm/Tk-Icon.ppd ppm install failed: The PPD does not provide code to…
Igor
  • 26,650
  • 27
  • 89
  • 114
3
votes
2 answers

Socket not sending entire contents on Linux (ubuntu)

I've encountered an issue when sending large segments of data through a TCP socket, having spend about 3 days trying to pick apart the issue and failing I decided it was best to turn here for help / advice. My Project I've written a basic HTTP…
Adam Casey
  • 1,600
  • 12
  • 21
3
votes
2 answers

How to divide a 128-bit dividend by a 64-bit divisor, where the dividend's bits are all 1's, and where I only need the 64 LSBs of the quotient?

I need to calculate (2128 - 1) / x. The divisor, x, is an unsigned 64-bit number. The dividend is composed of two unsigned 64-bit numbers (high and low), where both numbers are UINT64_MAX. I can only use 64-bit arithmetic and need it to be portable…
tgonzalez89
  • 621
  • 1
  • 6
  • 26
3
votes
1 answer

System.Data.SQLite and Fluent NHibernate - IDBCommand could not be found

I am trying out Fluent NHibernate 2.12 with System.Data.SQLite (ver 1.0.74.0 with .NET4 x64). When trying to create my session factory I get the following error (innermost exception): The IDbCommand and IDbConnection implementation in the…
Paul
  • 1,757
  • 2
  • 11
  • 21