- As one 32 bit binary number
- To display the value in the
register as
a 32 bit binary number,
select
the B (= binary) display option:
|
- As one 32 bits unsigned decimal (integer)
number
- As one 32 bits signed decimal (integer)
number
- To display the value in the
register as
a
32 bit signed deciaml number,
select
the D SI (= decimal - signed int)
display option:
|
Notice that: the 32 bits
11111111 11111111 11111111 11111101
(stored in register D0)
interpreted using the
2's complement number system
(for converting binary to signed integers), represents the
negative decimal value of
00000000 00000000 00000000 00000011
= 3
- As two
16 bits unsigned decimal (integer)
number
- To display the value in the
register as
two
16 bits unsigned deciaml number,
select
the D US (= decimal -
unsigned short)
display option:
|
Notice that: the first 16 bits
11111111 11111111
in register D0
interpreted using the
binary number system, represents the
decimal value of
215 + 214 + ... +
22 + 21
+ 20
= 65535
The second 16 bits
11111111 11111101
in register D0
interpreted using the
2's complement number system, represents the
negative decimal value of
215 + 214 + ... +
22
+ 20
= 65533
- As two
16 bits signed decimal (integer)
number
- To display the value in the
register as
two
16 bits signed deciaml number,
select
the D SS (= decimal -
signed short)
display option:
|
Notice that: the first 16 bits
11111111 11111111
in register D0
interpreted using the
2's complement number system, represents the
negative decimal value of
00000000 00000001
= 1
The second 16 bits
11111111 11111101
in register D0
interpreted using the
2's complement number system, represents the
negative decimal value of
00000000 00000011
= 3
- As four
8 bits unsigned decimal (integer)
number
- To display the value in the
register as
four
8 bits unsigned deciaml number,
select
the D UB (= decimal -
unsigned byte)
display option:
|
- As four
8 bits signed decimal (integer)
number
- To display the value in the
register as
four
8 bits signed deciaml number,
select
the D SB (= decimal -
signed byte)
display option:
|
- As a
32 bits IEEE 754 (floating point)
number
- To display the value in the
register as
four
32 bits floating point number,
select
the float
display option.
|
|