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

what is the equivalent of _emit in MASM

I'm trying to port some inline assembly code written in Visual Studio into MASM64. The original code uses _emit which is a pseudo instruction that defines one byte at the current location in the current text segment. How would I do the same in x64…
user146960
3
votes
2 answers

How to check availability of 64-bit integers (for `use integer`)?

I want to write a program that needs 40-bit integers. The machine where I'm writing it has 64 bit integers, but I'd like to check inside the program whether there are 64-bit integers available. How could I do that efficiently? On a 64-bit machine,…
U. Windl
  • 3,480
  • 26
  • 54
3
votes
0 answers

Why can't 64-bit Windows allocate a lot of virtual memory?

On a system with virtual memory, it should be possible to allocate lots of address space, more than you have physical RAM, and then only write to as much of it as you need. On a 32-bit system of course there is only four gigabytes of virtual address…
rwallace
  • 31,405
  • 40
  • 123
  • 242
3
votes
1 answer

Could the 64 bits CLR use compressed pointers?

I've read a bit about compressed object pointers in some 64 bits Java VM implementations. As I understood it, the principle is storing a reference as a relative 32 bits address offset from one object to another instead of a full 64 bits pointer, to…
Julien Lebosquain
  • 40,639
  • 8
  • 105
  • 117
3
votes
1 answer

Android API 31 (Version 12) only 64 bit version?

App that I am currently working on uses a library that doesn't work on 64 bit version. In a link below there is info only about 64bit version: Android 12 emulator system images for mobile devices (64-bit only, see release…
Remiwaw
  • 163
  • 2
  • 13
3
votes
3 answers

Visual C++ 2008: Unable to set win64 as the active build configuration for project

I have installed Visual Studo 2008 on my 64 bit Windows 7. I need to build 64 bit binaries. I'm building the solution using devenv command: devenv mysolution.sln /build "RELEASE|WIN64" It skipped building all projects. So I opened the solution in…
Walking Corpse
  • 107
  • 7
  • 31
  • 49
3
votes
2 answers

SQLite3.dll for Windows 7 64 bit

Within my C# application, I've used the sqlite3 library for 32 bit architecture and all works fine. To use it, I've copied sqlite3.dll file into my /bin directory and I've created a class called SQLiteWrapper that uses this statement to import…
CeccoCQ
  • 3,746
  • 12
  • 50
  • 81
3
votes
1 answer

Set environment variable befare launching debug process by IDA

I want to add environment variables before launching my python script by IDA to debug a library. I set up Process Options in Debugger menu and set Application to x86 python. But it seems there is no environment variable options. Is there any way to…
fx-kirin
  • 1,906
  • 1
  • 20
  • 33
3
votes
2 answers

Using a 32 bit unmanaged COM server in a 64 bit .NET application

I need to use a 32 bit unmanaged COM server in a 64 bit .NET application. I did some research and it seemed that I found a suitable solution: hosting the COM server in a COM+ server application. So the component is activated in a dedicated (32 bit)…
luc
  • 41
  • 2
3
votes
1 answer

How to ask dotnet build command to produce 64 bit artifacts

We have a .Net core 3.1 based web application and we use dotnet build command to generate build files in CI/CD pipeline. Below is how our build command looks like - dotnet build MySolution.sln -m:1 -f=netcoreapp3.1 --nologo -c Release -p…
user979189
  • 1,230
  • 2
  • 15
  • 39
3
votes
1 answer

how to use bitboards in chess?

I am making a bitboard based chess engine and I would like to ask - assuming that I made a bitboard to every piece, what do I do with it? I read a little bit about some techniques like if you shift the pawns bit board to the left by 7 and 9 you get…
Michael
  • 61
  • 1
  • 7
3
votes
0 answers

How to work around Excel 2016 halting without message when trying to assign variable to VBProject?

System Details. Windows 10 Excel 365 64-bit V16.0 (Apps for Enterprise) Issue. I have a macro that opens a file, checks if the user has allowed programmatic access to the VBA Project in the trust center and raises an alert if they have not. This…
Andrew
  • 31
  • 2
3
votes
1 answer

LG Revolution and Android Development

I am trying to use my Revolution with my Windows x64 machine I got the LG Revolution the day it came out and have been very happy with it so far except for this problem. Whenever I connect the device to the computer (doesn't matter which mode), I…
Cocoa Dev
  • 9,361
  • 31
  • 109
  • 177
3
votes
1 answer

Check for 32bit/64bit environment in TFSBuild.proj

I have a 32bit build agent on which our MSBuilds run. We recently added a new 64bit machine to our build agent array, but some things in our TFSBuild.proj file is hard coded for a 32bit machine. Is it possible to check whether the environment being…
xcodr
  • 1,177
  • 2
  • 14
  • 26
3
votes
2 answers

64 bit windows assembler debugging

I am trying to debug some assembler code on windows. For 32 bit code I was using Ollydbg, but it is unable to open 64-bit exe files. I also tried using the visual studio debugger but I think the stack is somehow getting corrupted and I can't figure…
John Palmer
  • 25,356
  • 3
  • 48
  • 67