COE 308 - Standard ASCII - Character setsStandard ASCII...

Info icon This preview shows pages 1–2. Sign up to view the full content.

Character setsStandard ASCII: 7-bit character codes (0 – 127) Extended ASCII: 8-bit character codes (0 – 255)Unicode: 16-bit character codes (0 – 65,535)Unicode standard represents a universal character set Defines codes for characters used in all major languages Used in Windows-XP: each character is encoded as 16 bits UTF-8: variable-length encoding used in HTML Encodes all Unicode charactersUses 1 byte for ASCII, but multiple bytes for other characters Null-terminated String Array of characters followed by a NULL character The first 32 characters of ASCII table are used for control Control character codes = 00 to 1F (hexadecimal) Not shown in previous slide Examples of Control Characters Character 0 is the NULL character
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ⇒ used to terminate a string Character 9 is the Horizontal Tab (HT) characterCharacter 0A (hex) = 10 (decimal) is the Line Feed (LF)Character 0D (hex) = 13 (decimal) is the Carriage Return (CR) The LF and CR characters are used together They advance the cursor to the beginning of next line One control character appears at end of ASCII table Character 7F (hex) is the Delete (DEL) character Critical Interface between hardware and software ?An ISA includes the following . .. ? Instructions and Instruction Formats ? Data Types, Encodings, and Representations ? Programmable Storage: Registers and Memory ? Addressing Modes: to address Instructions and Data ? Handling Exceptional Conditions (like division by zero)...
View Full Document

  • Fall '08
  • MuhamedMudawar
  • ASCII, null character, character codes

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern