Quick reference width namesΒΆ

We will be working with the same basic set of widths in a lot of contexts, where for historical reasons they might have different, even conflicting names. Here is a table to try to help keep track.

bits

8

16

32

64

bytes

1

2

4

8

Intel

byte

word

double word

quad word

register

al, ah, r8b

ax, r8w

eax, r8d

rax, r8

gdb

byte

halfword

word

giant word

C (LP64)

char

short

int, float

long, double, pointer

C (stdint.h)

int8_t

int16_t

int32_t

int64_t

Gnu assembly

.byte

.word

.long, .float

.quad, .double

Other useful library types:

See also limits.h.

You have attempted of activities on this page