Assembly data types limits and examples -
i'm taking assembly language class , book gives me list of data types:
- byte - 8 bit unsigned integer
- sbyte - 8 bit signed integer
- word - 16 bit unsigned integer
- sword - 16 bit signed integer
- dword - 32 bit unsigned integer
- sdword - 32 bit signed integer
- fword - 48 bit integer
- qword - 64 bit integer
- tbyte - 80 bit (10 byte) integer
- real4 - 32 bit (4 byte) short real
- real8 - 64 bit (8 byte) long real
- real10 - 80 bit (10 byte) extended real
just title says, i'm hoping information on upper/lower limits of each of these data types, , maybe examples.
limit of unsigned type:
0 2^bit_count - 1
limit of signed type:
-(2^(bit_count-1)) (2^(bit_count-1))-1
for example, unsigned byte's limit is:
0 255
and signed word's limit is:
-32768 32767
i'm not entirely sure real numbers are, assumption floating point numbers.
for more info, see here.
Comments
Post a Comment