28.9.3. GNU GAS assembler data sizes
Let’s see how many bytes go into each data type:
The results are shown at: Table 4, “Summary of GNU GAS assembler data sizes”.
.byte | .word | .long | .quad | .octa |
---|---|---|---|---|
x86 |
1 |
2 |
4 |
8 |
16 |
arm |
1 |
4 |
4 |
8 |
16 |
aarch64 |
1 |
4 |
and also keep in mind that according to the manual:
-
.int
is the same as.long
-
.hword
is the same as.short
which is usually the same as.word
Bibliography: