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
6
votes
5 answers

Accessing the Windows registry using .NET?

I am finding a strange behavior with a .NET module accessing the Windows Registry using the RegistryKey class. For example, I have written a .NET module, testcom.dll, which access the registry. This testcom.dll file is used both by a native 32-bit…
Manigandan
6
votes
1 answer

Compiling 32-bit OS X binaries on a 64-bit environment

What is involved in compiling 32-bit Intel OS X binaries on a 64-bit command-line environment? Is it as simple as adding a -m32 flag? I'm not using Xcode, but could use it to install libraries that gcc could use, if needed. Thanks for your advice.
Alex Reynolds
  • 95,983
  • 54
  • 240
  • 345
6
votes
2 answers

Running 32-bit dll on 64-bit machine in java

I am attempting to use a 3rd-party dll for a program I am writing in java. Unfortunately, it only has 32-bit support. When I attempt to load the dll in a 64-bit VM, I get the following error: Can't load IA 32-bit .dll on a AMD 64-bit platform I…
Ben Evans
  • 83
  • 1
  • 5
6
votes
1 answer

Java 7 on 32-bit Windows 7 - Java Webstart - Unable to load resource

Java 7 on 32-bit Windows 7 - Java Webstart - Unable to load resource I can't launch any java webstart application on a 32-bit Windows 7 system. E.g. ArgoUML - http://argouml-downloads.tigris.org/jws/argouml-latest-stable.jnlp Everything works fine…
belaz
  • 131
  • 1
  • 1
  • 5
6
votes
2 answers

Detect if the processor is 64-bit under 32 bit OS

Normally, x86-64 architecture offers compatibility with x86. A 32-bit Windows (or other OS) can run on an x86-64 processor. (Correct me if I am wrong). I would like to know if it is possible (in C++) for a 32-bit Windows to know that if underlying…
doptimusprime
  • 9,115
  • 6
  • 52
  • 90
6
votes
11 answers

Would one have to know the machine architecture to write code?

Let's say I'm programming in Java or Python or C++ for a simple problem, could be to build an TCP/UDP echo server or computation of factorial. Do I've to bother about the architecture details, i.e., if it is 32 or 64-bit? IMHO, unless I'm…
g06lin
  • 5,725
  • 3
  • 18
  • 13
5
votes
2 answers

Intel x86 32-bit register confusion

I've been trying to learn 32-bit Intel x86 nasm syntax assembly on my Linux OS, and I've run into a question about the four general purpose 32-bit registers. From what I've been thinking, eax was a 32-bit register that was supposed to be used with…
JAW1025
  • 676
  • 2
  • 8
  • 17
5
votes
3 answers

Accessing target path from a shortcut file on a 64 bit system using 32 bit application

I'm trying to access the target path from a shortcut(.lnk) file on a 64bit machine using my 32 bit application. To get the path, I was using the following code. WshShell shell = new WshShell(); IWshShortcut link =…
Jimesh
  • 113
  • 6
5
votes
1 answer

Why isn't my code working when adding .386?

As explained in the title, I need to make this code able to do the same things it do using just 16bit but adding .386 to the code so I can use 32bit registers. But when I add the .386 now my code isn't printing anything, any idea how I can fix this.…
Diego Esquivel
  • 182
  • 1
  • 12
5
votes
3 answers

Linux: Detect 64-bit kernel (long mode) from 32-bit user mode program

What's the best and most reliable way to detect if a 32-bit user mode program is running on a 64-bit kernel or not (i.e. if the system is in 'long mode')? I'd rather not call external programs if possible (or have to load any kernel modules). Note:…
atomice
  • 3,062
  • 17
  • 23
5
votes
1 answer

Loading native COM DLLs in 64bit environment

I have a 32bit/64bit COM DLLs in C++: mycom32.dll, mycom64.dll. Both of them are exactly the same but mycom32.dll is compiled for 32bit and mycom64.dll is compiled for 64bit. That means that BOTH DLLs have the same UUID and the same CLSID! Now,…
TCS
  • 5,790
  • 5
  • 54
  • 86
5
votes
2 answers

Start-Process -WindowStyle Maximized doesn't maximize window

It seems that: Start-Process -WindowStyle Maximized 'C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE' starts OneNote in a window style regardless the parameter is Maximized or Minimized: If the last time is normal or maximized, then it…
Ooker
  • 1,969
  • 4
  • 28
  • 58
5
votes
4 answers

32-bit or 64-bit application on 64-bit OS?

We are developing a swing application written by Java which requires only about 128MB memory, and in the short future I don't see it will require much more memory like 4GB. Previously we provide always 3 different releases, one for 32-bit Windows,…
Wayne Xu
  • 53
  • 4
5
votes
2 answers

Where is Rakudo x86 32-bit precompiled installer/binaries?

I would like to write my program using Perl6/Rakudo and it must run on both 32-bit and 64-bit OSes (Windows and Linux). But 32-bit Rakudo installer will not released any more. What is the best I can do to get working 32-bit Rakudo Star installer?
gapsf
  • 634
  • 4
  • 8
5
votes
2 answers

Pyinstaller Keyring Windows 32 bit

I have the following python test code: import keyring print(keyring.get_keyring()) keyring.set_password("a","b","c") print(keyring.get_password("a","b")) If I run this code using a 32 bit python or a 64 bit one I obtain the following output (as…
Daniele Milani
  • 553
  • 2
  • 7
  • 26