It’s a little confusing. You need to learn and use the right terms to know what you’re talking about.
On a computer running on 32-bit architecture it will have a 32-bit address. Note that 64-bit computers can run in this addressing mode. With 32 bits you can access up to 4GB of memory which is 2 high to 32. When you do not need to access all the address space that the architecture allows you to use only what is needed to save space since each address used, and many are used in a large application, occupies the amount of bytes of your size.
We often use the term "word size" to indicate the size of what you call memory address. The word is the size of the processor register. It is common for the word to be the same size as the register, but it is not required.
Each byte has 8 bits, so to represent a memory address would need 32 bits.
Usually an integer is usually the word size of the processor, so it is the size of the memory address.
If you say you separated it into 4 addresses (the term seems to be wrong), maybe it separated it into 4 bytes. Maybe I split it four ways bytes in hexadecimal format. If there really are 4 integers, each with 4 bytes, you need to figure out what you’re showing, there must be a reason, if is showing this.
But objectively your question is answered: in address space of 32 bits the address size is 4 bytes. As in 64 address space bits is 8 bytes, in 16 address space bits is 2 *bytes and 8 address space bits is 1 byte.
Show how you are, give more details, it’s hard to understand what you’re talking about. Maybe you’re using wrong terms. Put code, result, screenshot, something that indicates better what you want.
– Maniero
Integer size is one thing, address size is another (and it depends on the architecture/platform used), memory allocation and alignment are something else. Better you [Dit] the question and put more details, so that people can understand what the doubt is and help better.
– Bacco
Alexsander, I saw that you posted another question almost the same. There is something that has not yet become clear in the answers?
– bfavaretto
Yes for example on my computer 64-bit addresses so I downloaded a crack me to train my reverse engineering skills , so the key has 15 characters in size and type occupies 4 64-bit addresses , the key and only 15 in size so I got it.
– Alexsander Borgesdamaceno
It’s still hard to understand your question! Do you have a screenshot of this Debugger? How do you know it’s an int that’s in these 4 addresses? Try [Dit] the question and put more details, everyone is hard to understand you...
– bfavaretto
@Alexsanderborgesdamaceno If any of the answers provided met your needs you can accept it. This goes for any question you have asked. And you can vote on all the answers and questions you find useful. This goes for all the website, not only your stuff. See how it works in [tour].
– Maniero
I find the question totally acceptable. I interpret it this way: "what is the maximum address size?" considering the offsets (result: pmargreff response). Vote to reopen it
– user2692