Docsity
Docsity

Prepare-se para as provas
Prepare-se para as provas

Estude fácil! Tem muito documento disponível na Docsity


Ganhe pontos para baixar
Ganhe pontos para baixar

Ganhe pontos ajudando outros esrudantes ou compre um plano Premium


Guias e Dicas
Guias e Dicas


Documento: Tabela ASCII, Pinout e Conversão Decimal-Hexadecimal, Notas de estudo de Informática

Informações sobre o american standard code for information interchange (ascii), incluindo sua tabela de caracteres, pinout do conector rs232 e conversão decimal-hexadecimal.

Tipologia: Notas de estudo

Antes de 2010

Compartilhado em 15/12/2010

alexandre-ferreira-leite-4
alexandre-ferreira-leite-4 🇧🇷

5

(3)

8 documentos

1 / 4

Toggle sidebar

Esta página não é visível na pré-visualização

Não perca as partes importantes!

bg1
Tronisoft Limited
Email: sales@tronisoft.com
Web: www.tronisoft.com
A
A
S
S
C
C
I
I
I
I
/
/
S
S
e
e
r
r
i
i
a
a
l
l
P
P
o
o
r
r
t
t
C
C
r
r
i
i
b
b
S
S
h
h
e
e
e
e
t
t
s
s
H
H
a
a
n
n
d
d
y
y
b
b
a
a
s
s
i
i
c
c
A
A
S
S
C
C
I
I
I
I
,
,
s
s
e
e
r
r
i
i
a
a
l
l
/
/
R
R
S
S
2
2
3
3
2
2
p
p
o
o
r
r
t
t
i
i
n
n
f
f
o
o
r
r
m
m
a
a
t
t
i
i
o
o
n
n
a
a
n
n
d
d
d
d
e
e
c
c
i
i
m
m
a
a
l
l
/
/
h
h
e
e
x
x
a
a
d
d
e
e
c
c
i
i
m
m
a
a
l
l
c
c
o
o
n
n
v
v
e
e
r
r
s
s
i
i
o
o
n
n
c
c
h
h
a
a
r
r
t
t
Information furnished is believed to be accurate and reliable. However, Tronisoft Limited assumes no responsibility,
consequential or otherwise of use of such information.
Email support@tronisoft.com with suggestions or to report document inaccuracies, omissions and errors.
Specifications mentioned in this publication are subject to change without notice. This publication supersedes and
replaces all information previously supplied.
© Copyright 2007 Tronisoft Limited - United Kingdom - All Rights Reserved.
http://www.tronisoft.com
P/N: 9660
Document version: 1.01
Date: August 2007
Advanced Data Capture and Control Systems
pf3
pf4

Pré-visualização parcial do texto

Baixe Documento: Tabela ASCII, Pinout e Conversão Decimal-Hexadecimal e outras Notas de estudo em PDF para Informática, somente na Docsity!

Tronisoft Limited

Email: [email protected]

Web: www.tronisoft.com

AS ASCCIIII // SSeerriiaall PPoorrtt CCrriibb SShheeeettss

HHaannddyy bbaassiicc AASSCCIIII,, sseerriiaall // RRSS2 2332 2 ppoorrtt iinnffoorrmmaattiioonn aanndd

ddeecciimmaall//hheexxaaddeecciimmaall ccoonnvveerrssiioonn cchhaarrtt

Information furnished is believed to be accurate and reliable. However, Tronisoft Limited assumes no responsibility, consequential or otherwise of use of such information. Email [email protected] with suggestions or to report document inaccuracies, omissions and errors.

Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied.

© Copyright 2007 Tronisoft Limited - United Kingdom - All Rights Reserved. http://www.tronisoft.com

P/N: 9660

Document version: 1.

Date: August 2007

Advanced Data Capture and Control Systems

ASCII Chart

ASCII, the American Standard Code for Information Interchange, was developed in the 1960's as a

standard 7-bit code for identifying letters, numbers, symbols, and special characters in the English

language. It was later expanded (as Extended ASCII) to include additional symbols and foreign language

characters. Standard ASCII consists of 128 characters, ranging from 0 to 127 which can be broken down

into the following subgroups:

0 to 31, 127: Control codes (includes null, backspace, line feed and others)

32 to 47, 58 to 64, 81 to 86, 123 to 126: Punctuation marks, mathematical (and other) symbols

48 to 57: Numbers 0 through 9

65 to 80: Capital letters A through Z

87 to 122: Lower case letters a through z

Standard ASCII Chart

The standard chart includes the ASCII character or control and their related decimal and hexadecimal

values. Also shown are the control key sequences for the control codes. Note, to obtain codes 0 to 31,

console Control Key is pressed while simultaneously pressing a Letter Key, e.g. ^J is the line feed

character. Control Key subtracts decimal 64 (40h) from Letter Key pressed.

Legend: ^Key - Control Key + Letter Key combination except 30 (1E hex) = Control +caret.

Dec Hex ^Key ASCII Dec Hex ASCII Dec Hex ASCII Dec Hex ASCII

0 0 ^@ NUL (Null) 32 20 (Space) 64 40 @ 96 60 `

1 1 ^A SOH (Start of Heading) 33 21! 65 41 A 97 61 a

2 2 ^B STX (Start of Text) 34 22 " 66 42 B 98 62 b

3 3 ^C ETX (End of Text) 35 23 # 67 43 C 99 63 c

4 4 ^D EOT (End of Transmission) 36 24 $ 68 44 D 100 64 d

5 5 ^E ENQ (Enquiry) 37 25 % 69 45 E 101 65 e

6 6 ^F ACK (Acknowledgement) 38 26 & 70 46 F 102 66 f

7 7 ^G BEL (Bell) 39 27 ' 71 47 G 103 67 g

8 8 ^H BS (Backspace) 40 28 ( 72 48 H 104 68 h

9 9 ^I HT^ (Horizontal^ Tab)^ 41 29 )^ 73 49 I^ 105 69 i

10 A ^J LF^ (Line^ Feed)^ 42 2A *****^ 74 4A J^ 106 6A j

11 B ^K VT^ (Vertical^ Tab)^ 43 2B +^ 75 4B K^ 107 6B k

12 C ^L FF (Form Feed) 44 2C , 76 4C L 108 6C l

13 D ^M CR (Carriage Return) 45 2D - 77 4D M 109 6D m

14 E ^N SO (Shift Out) 46 2E. 78 4E N 110 6E n

15 F ^O SI (Shift In 47 2F / 79 4F O 111 6F o

16 10 ^P DLE (Data Line Escape) 48 30 0 80 50 P 112 70 p

17 11 ^Q DC1 (Device Control 1) 49 31 1 81 51 Q 113 71 q

18 12 ^R DC2 (Device Control 2) 50 32 2 82 52 R 114 72 r

19 13 ^S DC3 (Device Control 3) 51 33 3 83 53 S 115 73 s

20 14 ^T DC4 (Device Control 4) 52 34 4 84 54 T 116 74 t

21 15 ^U NAK (Negative Ack.) 53 35 5 85 55 U 117 75 u

22 16 ^V SYN (Synchronous Idle) 54 36 6 86 56 V 118 76 v

23 17 ^W ETB (End of Transmit Block) 55 37 7 87 57 W 119 77 w

24 18 ^X CAN^ (Cancel)^ 56 38^8 88 58 X^ 120 78 x

25 19 ^Y EM^ (End^ of^ Medium)^ 57 39^9 89 59 Y^ 121 79 y

26 1A ^Z SUB^ (Substitute)^ 58 3A :^ 90 5A Z^ 122 7A z

27 1B ^[ ESC^ (Escape)^ 59 3B ;^ 91 5B [^ 123 7B {

28 1C ^\ FS (File Separator) 60 3C < 92 5C ** 124 7C |

29 1D ^] GS (Group Separator) 61 3D = 93 5D ] 125 7D }

30 1E ^^ RS (Record Separator) 62 3E > 94 5E ^ 126 7E ~

31 1F ^_ US (Unit Separator) 63 3F? 95 5F _ 127 7F (Delete)

Decimal - Hexadecimal Conversion Chart

This chart shows the conversion between decimal and hexadecimal and vice versa.

0 1 2 3 4 5 6 7 8 9 A B C D E F

A 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175

B 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191

C 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207

D 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223

E 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239

F 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255

Usage example:

Hex 31 is equivalent to decimal 49. Alternatively decimal 255 is equivalent to hex FF.