EasyManua.ls Logo

Anritsu MT8801C - Page 433

Anritsu MT8801C
493 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 7 Sample Programs
7-18
[Transferring 2-byte binary data]
The 2-byte binary data can represent the 65,536 integers from -32,768 to 32,767 as
shown in the figure below. The lower bytes of the data are sent after the upper byte.
1000000000000000
1000000000000001
1000000000000010
1111111111111101
1111111111111110
1111111111111111
0000000000000000
0000000000000001
0000000000000010
0000000000000011
0111111111111101
0111111111111110
0111111111111111
-32768
-32767
-2766
-3
-2
-1
0
1
2
3
32765
32766
32767
32768
32769
32770
65533
65534
65535
0
1
2
3
32765
32766
32767
The 16-bit (2-byte) binary data consists of the sign bit and integer digits.
Sign bit : Bit 15 (MSB) is used.
Integer digits : Bits 0 to 14 are used.
No Sign
Integer digits
Internal representation of 2-byte binary data
Upper byte Lower byte
15 14
S
MSB
LSB
087
16-Bit Binary With Sign
Sign bit*
Note*:
When a minus value is stored in a numeric variable, sign bit 1 is set in the MSB
to indicate that the stored value is a minus value. The minus value is stored in
the numeric variable as a twos complement.

Table of Contents

Related product manuals