36
B.2 - Binary to Hex
Data input to the Model 9002 is a sequence of 8-bit binary bytes. For ease of presentation, this manual is written in
2-digit hex notation. What follows is a review of the relationship between binary and hex formats. The relationship
between a 4-bit binary number and a 1-digit hex number is as follows:
4-Bit 1-Digit
Binary Hex
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F
Table B.1 Binary to Hex Conversion
Two digit hex notation represents (2-digit x 4-bit) 8-bit binary data. Therefore, in hex notation, an 8-bit byte is 2, 4-bit
binary numbers side by side. The relationship between 8-bit binary and two digit hex is as follows:
8-Bit 2-Digit
Binary Hex
0000 1111 0F
0001 1110 1E
0010 1101 2D
0011 1100 3C
0100 1011 4B
0101 1010 5A
0110 1001 69
0111 1000 78
Table B.2 Conversion of 8-Bit Binary to Hex
Model 9002
Appendix B
25 Locust St, Haverhill, Massachusetts 01830 • Tel: 800/252-7074, 978/374-0761 • FAX: 978/521-1839
e-mail: sales@freqdev.com • Web Address: http://www.freqdev.com