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

Count the number of contiguous 1 bits from the left

I am stuck on this problem: Assume that we have 32-bit integer, write a C function to count the number of contiguous 1 bits, from the left. For example: leftCount(0xFF000000) = 8 leftCount(0x0FFFFFFF) = 0 (because the number starts with…
fatpipp
  • 213
  • 1
  • 4
  • 12
-2
votes
4 answers

converting long to integer without losing the original value

Is there a way to convert a long value 8769402740 to integer and still maintain the original value . I know about using (int) long however it changes the appearance of the number and that is what I would like to maintain.
chloe
  • 69
  • 2
  • 10
-2
votes
2 answers

Which R and RStudio version to install for Windows 32 bit?

I'm taking a course on R programming and it requires me to install "devtools" package. I was using Anaconda to learn Python and used the same to use R. But I wasn't able to install the package and came to know that Anaconda only supports certain…
Ashie
  • 3
  • 1
  • 5
-2
votes
2 answers

What is the max number that you can take by 27 in 32 bits

I am doing something in coding where it multiplies a number by from 1 to 27. I need to make a fail safe, where no number can be over this. Rounding to 2^32/2^64 would not work. It needs so be 32 bits so it can both support 32 and 64 bit OS's.
-2
votes
1 answer

Do I need to get 32 bits composer?

I am using Windows 10 (32bit), but I can't find a 32bit version of composer. I found the download page but I don't know if there is a 32bit version I can download. Are 32 bits operative systems supported?
황순기
  • 9
  • 3
-2
votes
2 answers

How I make an addition of two numbers of 32 bits in Assembly using ADC?

How I make an addition of two numbers of 32 bits in Assembly using ADC?
ebed
  • 1
  • 1
  • 1
-2
votes
2 answers

C assembly language ATT walkthrough?

I have a simple c program that multiplies and adds three variables and returns the results. I have compiled the code into assembly language (ATT format) on a 32 bit machine. I am trying to learn assembly code, and while I can understand some of the…
below_avg_st
  • 187
  • 15
-2
votes
1 answer

Has official 32bit support for cmake on Linux been dropped?

I don't mean the version(s) provided by the various distributions but the binary from the official website. I have an old VM running 32bit OpenSUSE 12.1 that is configured for a project I'm working on at work. I need to install WebKitGTK. The…
rbaleksandar
  • 8,713
  • 7
  • 76
  • 161
-2
votes
1 answer

64 bits Symbolic String (Hex) to 32 bit Symbolic String

I'm trying to convert 64-bit symbolic string to 32-bit. My advisor said, what that 64-bit symbolic string is a Hex string and I should only cut all the bits after 8th left bit. I decided to do it in Python by mask: that_string & 0xFFFFFFFF But it's…
Fruitty
  • 57
  • 2
  • 10
-2
votes
1 answer

implement 64-bit arithmetic on a 32-bit machine - assembly code

The following code computes the product of x and y and stores the result in memory. Data type ll_t is defined to be equivalent to long long. gcc generates the following assembly code implementing the computation: typedef long long ll_t; void…
Hambuzo
  • 83
  • 10
-2
votes
1 answer

How to extract first 20 bits of Hexadecimal address?

I have the following hexadecimal 32 bit virtual address address: 0x274201 How can I extract the first 20 bits, then convert them to decimal? I wanted to know how to do this by hand. Update: @Pete855217 pointed out that the address 0x274201 is…
lucidgold
  • 4,432
  • 5
  • 31
  • 51
-2
votes
1 answer

What is the difference between 32 bit and 64 bit processor

What I understood in a very naive way about 32 bit vs 64 bit processors is: On 32 bit, an 'int' is represented as 32 bits but n 64 bit processor, int is represented as 64 bit. IS it right? IS this the only difference? From this over simplification,…
Victor
  • 16,609
  • 71
  • 229
  • 409
-2
votes
2 answers

(Assembly - 8085) Multiply 32 bit numbers

me and my friend are trying to write a code in which we need to multiply two 32 bit numbers resulting in a 64 bit number. We wanted to multiply the numbers using the add method, the problem is that register can only store 8 bits (16 bits a pair) at…
Gonçalo
  • 3
  • 1
  • 2
-3
votes
1 answer

How do I install Python on Windows 7 32 bit?

I went to the link here, python 3.8 download page, but there is no installer executable. How can I get the normal python installer download for older versions as is available on the most recent page? (edit) If this is a bad question, feel free to…
Jacob Waters
  • 307
  • 1
  • 3
  • 11
-3
votes
4 answers

Can someone explain why the below code prints -1

can someone explain why the below code outputs -1: #include main() { int number = 4294967295; /* the maximum integer that can be represented in 4 bytes (2 ^ 32 -1) */ printf("Maximun Number: %d\n", number); // why this output is strange…
Kevin
  • 209
  • 2
  • 11