Questions tagged [32-bit]

In computer architecture, 32-bit integers, memory addresses, or other data units are those that are at most 32 bits (4 octets) wide. Also, 32-bit CPU and ALU architectures are those that are based on registers, address buses, or data buses of that size. 32-bit is also a term given to a generation of computers in which 32-bit processors are the norm.

The range of integer values that can be stored in 32 bits is 0 through 4,294,967,295. Hence, a processor with 32-bit memory addresses can directly access 4 GiB of byte-addressable memory.

The external address and data buses are often wider than 32 bits but both of these are stored and manipulated internally in the processor as 32-bit quantities. For example, the Pentium Pro processor is a 32-bit machine, but the external address bus is 36 bits wide, and the external data bus is 64 bits wide.

Source: Wikipedia (32-bit)

1381 questions
8
votes
1 answer

32 bit program on 64 bit computer doesn't crash on NullReferenceException

I have a piece of code that throws a NullReferenceException: dataSource.DataSource = GetView(); It throws because dataSource is null. GetView returns a DataTable. However, when run on the one computer (64 bits), the program continues without any…
Bart Friederichs
  • 33,050
  • 15
  • 95
  • 195
8
votes
4 answers

How to detect the difference between a wrapping counter and large negative value in C language

Apologies for my imbecility as this is my first post on this forum. I am trying to detect the difference between a wrapping unsigned 32-bit counter and a large negative Jump with the help of following code but the compiler give me error: error:…
Black_Zero
  • 445
  • 1
  • 6
  • 12
8
votes
2 answers

Why does an assembly program only work when linked with crt1.o crti.o and crtn.o?

I like to know how programs work so to make it as bare bones as possible I fool around with assembly. I just found out how to assemble code for x86_64 using wprintf function (found out wide chars are 32 bit). all I had to do was link to libc…
Craig
  • 177
  • 2
  • 12
8
votes
11 answers

TOAD for Oracle and Windows 7: Can't initialize OCI. Error -1

I have a problem with TOAD for Oracle 9.1 running on Windows 7 32-bit, described as follows: I have Oracle OraClient10g 10.0.2 installed on my PC, and I need to use Toad 9.1. When I try to log into a server, I specify the database via TNS, I type…
DMolinaVzla
  • 91
  • 1
  • 1
  • 4
8
votes
3 answers

.net console app 32 vs 64 bit

Does a application in .NET need to be built in 64 bit to take full advantage of a machine with a 64 bit OS on it, or will it take advantage of it just as a 32 bit build. Basically, we have an issue with an out of memory exception and it was…
yantwill
8
votes
2 answers

64-bit windows assembler

I want to program 64 bit windows assembly (preferably using NASM). I have looked quite a but on google but it seems that I cannot find a 64 bit windows compiler. Some site mentioned ml64 but it seems like it is no longer included in VC++. I have…
Jayson Kane
  • 173
  • 2
  • 3
  • 7
8
votes
5 answers

Calculating Catalan Numbers mod prime number

The following is the problem description: let c[n] be the catalan number for n and p be a large prime eg.1000000007 I need to calculate c[n] % p where n ranges from {1,2,3,...,1000} The problem which I am having is that on a 32 bit machine you get…
Aman Deep Gautam
  • 8,091
  • 21
  • 74
  • 130
7
votes
3 answers

Win32 API to tell whether a given binary (EXE or DLL) is x86, x64, or ia64

I am trying to find a programmatic way to tell if a binary is x86, x64, or ia64. Platform: Windows. Language: c/c++. Background: Before trying to load a third-party dll, I need to find out its bitness. Appreciate any pointers.
user15071
  • 3,391
  • 8
  • 31
  • 31
7
votes
1 answer

SetWindowLong/GetWindowLong and 32-bit/64-bit CPUs

I'm using the following code: const int GWL_STYLE = (-16); const UInt32 WS_POPUP = 0x80000000; const UInt32 WS_CHILD = 0x40000000; [DllImport("user32.dll", SetLastError = true)] static extern UInt32 GetWindowLong(IntPtr hWnd, int…
Żubrówka
  • 730
  • 1
  • 10
  • 24
7
votes
2 answers

Can a 32bit application access a 64bit sql server database?

As the title states really, I need to know if a 32bit application can access a 64bit sql server database?
PDM
  • 503
  • 2
  • 12
  • 27
7
votes
6 answers

Is there any way to execute 64-bit programs on a 32-bit computer?

Just a simple question: Is there any way to run a program compiled under a 64 bit Windows environment (with mingw64) on a 32 bit machine? Any DLL or any compatibility layer which I can use?
Matteo Monti
  • 8,362
  • 19
  • 68
  • 114
7
votes
2 answers

XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system

My xampp suddenly shows this when i run sudo /opt/lampp/lampp start XAMPP is currently only availably as 32 bit application. Please use a 32 bit compatibility library for your system. It was working fine yesterday
7
votes
1 answer

Is there a collision rate difference between one 32-bit hash vs two 16 bit hashes?

I am working on a system where hash collisions would be a problem. Essentially there is a system that references items in a hash-table+tree structure. However the system in question first compiles text-files containing paths in the structure into a…
Exodist
  • 629
  • 5
  • 15
7
votes
3 answers

Is it possible to install Docker container in Windows -32 bit systems?

I am getting error as Docker needs 64bit configuration, is there any way where i can install docker in 32 bit systems. It's a 32 bit i3 processor having windows 7 machine.
Amrita Sahoo
  • 118
  • 1
  • 1
  • 6
7
votes
3 answers

Compile git for 32-bit linux on shared hosting

I need to set up the Git client on a cheap shared hosting, with a no-name 32-bit Linux distribution. GCC isn't available so I can't compile it on the server. I do have at my disposal 2 other 64-bit Linux servers and an OSX laptop which I could try…
thebuckst0p
  • 544
  • 1
  • 5
  • 13