Char Dec Oct Hex Char Dec Oct Hex Char Dec Oct Hex Char Dec Oct Hex



Similar documents
5 MIPS Assembly Language

Introduction to MIPS Assembly Programming

Reduced Instruction Set Computer (RISC)

Typy danych. Data types: Literals:

MIPS Assembler and Simulator

Memory is implemented as an array of electronic switches

SMIPS Processor Specification

Numeral Systems. The number twenty-five can be represented in many ways: Decimal system (base 10): 25 Roman numerals:

COMP 303 MIPS Processor Design Project 4: MIPS Processor Due Date: 11 December :59

MIPS Assembly Code Layout

DEBT COLLECTION SYSTEM ACCOUNT SUBMISSION FILE

ASCII Code. Numerous codes were invented, including Émile Baudot's code (known as Baudot

Arithmetic in MIPS. Objectives. Instruction. Integer arithmetic. After completing this lab you will:

URL encoding uses hex code prefixed by %. Quoted Printable encoding uses hex code prefixed by =.

plc numbers Encoded values; BCD and ASCII Error detection; parity, gray code and checksums

CHAPTER 8 BAR CODE CONTROL

Lab Work 2. MIPS assembly and introduction to PCSpim

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Instruction Set Architecture

Chapter 5. Binary, octal and hexadecimal numbers

The ASCII Character Set

Lecture 8: Binary Multiplication & Division

Chapter 1. Binary, octal and hexadecimal numbers

Symbols in subject lines. An in-depth look at symbols

Winter 2002 MID-SESSION TEST Friday, March 1 6:30 to 8:00pm

Translating C code to MIPS

Instruction Set Architecture. or How to talk to computers if you aren t in Star Trek

MIPS IV Instruction Set. Revision 3.2 By Charles Price September, 1995

Review: MIPS Addressing Modes/Instruction Formats

ASCII CODES WITH GREEK CHARACTERS

Voyager 9520/40 Voyager GS9590 Eclipse 5145

Assembly Language Programming

This is great when speed is important and relatively few words are necessary, but Max would be a terrible language for writing a text editor.

Syscall 5. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

Computer Systems Architecture

Instruction Set Reference

Exceptions in MIPS. know the exception mechanism in MIPS be able to write a simple exception handler for a MIPS machine

Xi2000 Series Configuration Guide

Teletypewriter Communication Codes

More MIPS: Recursion. Computer Science 104 Lecture 9

EECS 427 RISC PROCESSOR

Instruction Set Architecture

BARCODE READER V 2.1 EN USER MANUAL

MIPS Assembly Language Programming CS50 Discussion and Project Book. Daniel J. Ellard

BAR CODE 39 ELFRING FONTS INC.

Stack machines The MIPS assembly language A simple source language Stack-machine implementation of the simple language Readings:

Systems I: Computer Organization and Architecture

BI-300. Barcode configuration and commands Manual

THUMB Instruction Set

BRMO 80 / ETH-IP. User Manual. Réf : MU-BRMO 80-ETH-IP-1.4-EN

Chapter 7D The Java Virtual Machine

TELOCATOR ALPHANUMERIC PROTOCOL (TAP)

Characters & Strings Lesson 1 Outline

Command Emulator STAR Line Mode Command Specifications

Barcode Magstripe. Decoder & Scanner. Programming Manual

Binary Representation

M A S S A C H U S E T T S I N S T I T U T E O F T E C H N O L O G Y DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE

ESPA Nov 1984 PROPOSAL FOR SERIAL DATA INTERFACE FOR PAGING EQUIPMENT CONTENTS 1. INTRODUCTION 2. CHARACTER DESCRIPTION

Oct: 50 8 = 6 (r = 2) 6 8 = 0 (r = 6) Writing the remainders in reverse order we get: (50) 10 = (62) 8

Useful Number Systems

Representação de Caracteres

ASCII Characters. 146 CHAPTER 3 Information Representation. The sign bit is 1, so the number is negative. Converting to decimal gives

Levent EREN A-306 Office Phone: INTRODUCTION TO DIGITAL LOGIC

DL910 SERIES. Instruction Manual

Create!form Barcodes. User Guide

Lecture Outline. Stack machines The MIPS assembly language. Code Generation (I)

How To Write An Array In A Microsoft Zil

Design of Pipelined MIPS Processor. Sept. 24 & 26, 1997

Digital Logic Design. Introduction

Adapted from David Patterson s slides on graduate computer architecture

IBM Emulation Mode Printer Commands

ASCII control characters (character code 0-31)

Model 200 / 250 / 260 Programming Guide

Chapter 1: Digital Systems and Binary Numbers

Instruction Set Design

Part No. : MUL PROGRAMMING GUIDE

Introduction to MIPS Programming with Mars

Introduction to the Altera Nios II Soft Processor. 1 Introduction. For Quartus II 11.1

Tamper protection with Bankgirot HMAC Technical Specification

Lecture 3 Addressing Modes, Instruction Samples, Machine Code, Instruction Execution Cycle

2.2: Bitwise Logical Operations

Security Protection of Software Programs by Information Sharing and Authentication Techniques Using Invisible ASCII Control Codes

INTERNATIONAL STANDARD

CSE 141 Introduction to Computer Architecture Summer Session I, Lecture 1 Introduction. Pramod V. Argade June 27, 2005

MK-SERIE 1000/1500/2000 AllOfBarcode.de Michael Krug Traunstein BARCODE SCANNER

Divide: Paper & Pencil. Computer Architecture ALU Design : Division and Floating Point. Divide algorithm. DIVIDE HARDWARE Version 1

Scanner Configuration

Binary Numbers. Binary Octal Hexadecimal

ESC/POS Command Specifications

C Examples! Jennifer Rexford!

Pemrograman Dasar. Basic Elements Of Java

Talk Encoding Issues. An overview to understand and be able to handle encoding issues in a better way. Susanne Ebrecht

Enter/Exit programming

Computer Science 281 Binary and Hexadecimal Review

How It All Works. Other M68000 Updates. Basic Control Signals. Basic Control Signals

NVT (Network Virtual Terminal) description

7-Bit coded Character Set


So far we have considered only numeric processing, i.e. processing of numeric data represented

Transcription:

Table of ASCII Characters This table lists the ASCII characters and their decimal, octal and hexadecimal numbers. Characters which appear as names in parentheses (e.g., (nl)) are non-printing characters. A table of the common non-printing characters appears after this table. Char Dec Oct Hex Char Dec Oct Hex Char Dec Oct Hex Char Dec Oct Hex ------------------------------------------------------------------------------------- (nul) 0 0000 0x00 (sp) 32 0040 0x20 @ 64 0100 0x40 96 0140 0x60 (soh) 1 0001 0x01! 33 0041 0x21 A 65 0101 0x41 a 97 0141 0x61 (stx) 2 0002 0x02 " 34 0042 0x22 B 66 0102 0x42 b 98 0142 0x62 (etx) 3 0003 0x03 # 35 0043 0x23 C 67 0103 0x43 c 99 0143 0x63 (eot) 4 0004 0x04 $ 36 0044 0x24 D 68 0104 0x44 d 100 0144 0x64 (enq) 5 0005 0x05 % 37 0045 0x25 E 69 0105 0x45 e 101 0145 0x65 (ack) 6 0006 0x06 & 38 0046 0x26 F 70 0106 0x46 f 102 0146 0x66 (bel) 7 0007 0x07 39 0047 0x27 G 71 0107 0x47 g 103 0147 0x67 (bs) 8 0010 0x08 ( 40 0050 0x28 H 72 0110 0x48 h 104 0150 0x68 (ht) 9 0011 0x09 ) 41 0051 0x29 I 73 0111 0x49 i 105 0151 0x69 (nl) 10 0012 0x0a * 42 0052 0x2a J 74 0112 0x4a j 106 0152 0x6a (vt) 11 0013 0x0b + 43 0053 0x2b K 75 0113 0x4b k 107 0153 0x6b (np) 12 0014 0x0c, 44 0054 0x2c L 76 0114 0x4c l 108 0154 0x6c (cr) 13 0015 0x0d - 45 0055 0x2d M 77 0115 0x4d m 109 0155 0x6d (so) 14 0016 0x0e. 46 0056 0x2e N 78 0116 0x4e n 110 0156 0x6e (si) 15 0017 0x0f / 47 0057 0x2f O 79 0117 0x4f o 111 0157 0x6f (dle) 16 0020 0x10 0 48 0060 0x30 P 80 0120 0x50 p 112 0160 0x70 (dc1) 17 0021 0x11 1 49 0061 0x31 Q 81 0121 0x51 q 113 0161 0x71 (dc2) 18 0022 0x12 2 50 0062 0x32 R 82 0122 0x52 r 114 0162 0x72 (dc3) 19 0023 0x13 3 51 0063 0x33 S 83 0123 0x53 s 115 0163 0x73 (dc4) 20 0024 0x14 4 52 0064 0x34 T 84 0124 0x54 t 116 0164 0x74 (nak) 21 0025 0x15 5 53 0065 0x35 U 85 0125 0x55 u 117 0165 0x75 (syn) 22 0026 0x16 6 54 0066 0x36 V 86 0126 0x56 v 118 0166 0x76 (etb) 23 0027 0x17 7 55 0067 0x37 W 87 0127 0x57 w 119 0167 0x77 (can) 24 0030 0x18 8 56 0070 0x38 X 88 0130 0x58 x 120 0170 0x78 (em) 25 0031 0x19 9 57 0071 0x39 Y 89 0131 0x59 y 121 0171 0x79 (sub) 26 0032 0x1a : 58 0072 0x3a Z 90 0132 0x5a z 122 0172 0x7a (esc) 27 0033 0x1b ; 59 0073 0x3b [ 91 0133 0x5b { 123 0173 0x7b (fs) 28 0034 0x1c < 60 0074 0x3c \ 92 0134 0x5c 124 0174 0x7c (gs) 29 0035 0x1d = 61 0075 0x3d ] 93 0135 0x5d } 125 0175 0x7d (rs) 30 0036 0x1e > 62 0076 0x3e ^ 94 0136 0x5e ~ 126 0176 0x7e (us) 31 0037 0x1f? 63 0077 0x3f _ 95 0137 0x5f (del) 127 0177 0x7f ASCII Name Description C Escape Sequence nul null byte \0 bel bell character \a bs backspace \b ht horizontal tab \t np formfeed \f nl newline \n cr carriage return \r vt vertical tab esc escape sp space ASCII Code table and MIPS instruction set Page 1 of 7

Register Number Usage Name zero $0 Constant 0 $at $1 Reserved for assembler $v0 $v1 $2 $3 Expression evaluation and results of a function $a0 $a3 $4 $7 Argument 1 4 $t0 $t7 $8 $15 Temporary (not preserved across call) $s0 $s7 $16 $23 Saved temporary (preserved across call) $t8 $t9 $24 $25 Temporary (not preserved across call) $k0 $k1 $26 $27 Reserved for OS kernel $gp $28 Pointer to global area $sp $29 Stack pointer $fp $30 Frame pointer $ra $31 Return address (used by function call) MIPS registers and the convention governing their use. ASCII Code table and MIPS instruction set Page 2 of 7

Arithmetic and Logical Instructions Absolute Value abs Rdest, Rsrc Addition (with overflow) add Rdest, Rsrc1, Src2 Addition Immediate (with overflow) addi Rdest, Rsrc1, Imm Addition (without overflow) addu Rdest, Rsrc1, Src2 Addition Immediate (without overflow) addiu Rdest, Rsrc1, Imm AND and Rdest, Rsrc1, Src2 AND Immediate andi Rdest, Rsrc1, Imm Divide (signed) div Rsrc1, Rsrc2 Divide (unsigned) divu Rsrc1, Rsrc2 Divide (signed, with overflow) div Rdest, Rsrc1, Src2 Divide (unsigned, without overflow) divu Rdest, Rsrc1, Src2 Multiply (without overflow) mul Rdest, Rsrc1, Src2 Multiply (with overflow) mulo Rdest, Rsrc1, Src2 Unsigned Multiply (with overflow) mulou Rdest, Rsrc1, Src2 Multiply mult Rsrc1, Rsrc2 Unsigned Multiply multu Rsrc1, Rsrc2 Negate Value (with overflow) neg Rdest, Rsrc Negate Value (without overflow) negu Rdest, Rsrc NOR nor Rdest, Rsrc1, Src2 NOT not Rdest, Rsrc OR or Rdest, Rsrc1, Src2 OR Immediate ori Rdest, Rsrc1, Imm Remainder rem Rdest, Rsrc1, Src2 Unsigned Remainder remu Rdest, Rsrc1, Src2 Rotate Left rol Rdest, Rsrc1, Src2 Rotate Right ror Rdest, Rsrc1, Src2 Shift Left Logical sll Rdest, Rsrc1, Src2 Shift Left Logical Variable sllv Rdest, Rsrc1, Rsrc2 Shift Right Arithmetic sra Rdest, Rsrc1, Src2 Shift Right Arithmetic Variable srav Rdest, Rsrc1, Rsrc2 Shift Right Logical srl Rdest, Rsrc1, Src2 Shift Right Logical Variable srlv Rdest, Rsrc1, Rsrc2 Subtract (with overflow) sub Rdest, Rsrc1, Src2 Subtract (without overflow) subu Rdest, Rsrc1, Src2 XOR xor Rdest, Rsrc1, Src2 XOR Immediate xori Rdest, Rsrc1, Imm ASCII Code table and MIPS instruction set Page 3 of 7

Branch and Jump Instructions Branch instruction b label Branch Coprocessor z True bczt label Branch Coprocessor z False bczf label Branch on Equal beq Rsrc1, Src2, label Branch on Equal Zero beqz Rsrc, label Branch on Greater Than Equal bge Rsrc1, Src2, label Branch on GTE Unsigned bgeu Rsrc1, Src2, label Branch on Greater Than Equal Zero bgez Rsrc, label Branch on Greater Than Equal Zero And Link bgezal Rsrc, label Branch on Greater Than bgt Rsrc1, Src2, label Branch on Greater Than Unsigned bgtu Rsrc1, Src2, label Branch on Greater Than Zero bgtz Rsrc, label Branch on Less Than Equal ble Rsrc1, Src2, label Branch on LTE Unsigned bleu Rsrc1, Src2, label Branch on Less Than Equal Zero blez Rsrc, label Branch on Greater Than Equal Zero And Link bgezal Rsrc, label Branch on Less Than And Link bltzal Rsrc, label Branch on Less Than blt Rsrc1, Src2, label Branch on Less Than Unsigned bltu Rsrc1, Src2, label Branch on Less Than Zero bltz Rsrc, label Branch on Not Equal bne Rsrc1, Src2, label Branch on Not Equal Zero bnez Rsrc, label Jump j label Jump and Link jal label Jump and Link Register jalr Rsrc Jump Register jr Rsrc Data Movement Instructions Move move Rdest, Rsrc Move From hi mfhi Rdest Move From lo mflo Rdest Move To hi mthi Rdest Move To lo mtlo Rdest Move From Coprocessor z mfcz Rdest, CPsrc Move Double From Coprocessor 1 mfc1.d Rdest, FRsrc1 Move To Coprocessor z mtcz Rsrc, CPdest ASCII Code table and MIPS instruction set Page 4 of 7

Comparison Instructions Set Equal seq Rdest, Rsrc1, Src2 Set Greater Than Equal sge Rdest, Rsrc1, Src2 Set Greater Than Equal Unsigned sgeu Rdest, Rsrc1, Src2 Set Greater Than sgt Rdest, Rsrc1, Src2 Set Greater Than Unsigned sgtu Rdest, Rsrc1, Src2 Set Less Than Equal sle Rdest, Rsrc1, Src2 Set Less Than Equal Unsigned sleu Rdest, Rsrc1, Src2 Set Less Than slt Rdest, Rsrc1, Src2 Set Less Than Immediate slti Rdest, Rsrc1, Imm Set Less Than Unsigned sltu Rdest, Rsrc1, Src2 Set Less Than Unsigned Immediate sltiu Rdest, Rsrc1, Imm Set Not Equal sne Rdest, Rsrc1, Src2 Constant-Manipulating Instructions Load Immediate li Rdest, imm Load Upper Immediate lui Rdest, imm Load Instructions Load Address la Rdest, address Load Byte lb Rdest, address Load Unsigned Byte lbu Rdest, address Load Double-Word ld Rdest, address Load Halfword lh Rdest, address Load Unsigned Halfword lhu Rdest, address Load Word lw Rdest, address Load Word Coprocessor lwcz Rdest, address Load Word Left lwl Rdest, address Load Word Right lwr Rdest, address Unaligned Load Halfword ulh Rdest, address Unaligned Load Halfword Unsigned ulhu Rdest, address Unaligned Load Word ulw Rdest, address ASCII Code table and MIPS instruction set Page 5 of 7

Store Instructions Store Byte sb Rsrc, address Store Double-Word sd Rsrc, address Store Halfword sh Rsrc, address Store Word sw Rsrc, address Store Word Coprocessor swcz Rsrc, address Store Word Left swl Rsrc, address Store Word Right swr Rsrc, address Unaligned Store Halfword ush Rsrc, address Unaligned Store Word usw Rsrc, address ASCII Code table and MIPS instruction set Page 6 of 7

Floating Point Instructions Floating Point Absolute Value Double abs.d FRdest, FRsrc Floating Point Absolute Value Single abs.s FRdest, FRsrc Floating Point Addition Double add.d FRdest, FRsrc1, FRsrc2 Floating Point Addition Single add.s FRdest, FRsrc1, FRsrc2 Compare Equal Double c.eq.d FRsrc1, FRsrc2 Compare Equal Single c.eq.s FRsrc1, FRsrc2 Compare Less Than Equal Double c.le.d FRsrc1, FRsrc2 Compare Less Than Equal Single c.le.s FRsrc1, FRsrc2 Compare Less Than Double c.lt.d FRsrc1, FRsrc2 Compare Less Than Single c.lt.s FRsrc1, FRsrc2 Convert Single to Double cvt.d.s FRdest, FRsrc Convert Integer to Double cvt.d.w FRdest, FRsrc Convert Double to Single cvt.s.d FRdest, FRsrc Convert Integer to Single cvt.s.w FRdest, FRsrc Convert Double to Integer cvt.w.d FRdest, FRsrc Convert Single to Integer cvt.w.s FRdest, FRsrc Floating Point Divide Double div.d FRdest, FRsrc1, FRsrc2 Floating Point Divide Single div.s FRdest, FRsrc1, FRsrc2 Load Floating Point Double l.d FRdest, address Load Floating Point Single l.s FRdest, address Move Floating Point Double mov.d FRdest, FRsrc Move Floating Point Single mov.s FRdest, FRsrc Floating Point Multiply Double mul.d FRdest, FRsrc1, FRsrc2 Floating Point Multiply Single mul.s FRdest, FRsrc1, FRsrc2 Negate Double neg.d FRdest, FRsrc Negate Single neg.s FRdest, FRsrc Store Floating Point Double s.d FRdest, address Store Floating Point Single s.s FRdest, address Floating Point Subtract Double sub.d FRdest, FRsrc1, FRsrc2 Floating Point Subtract Single sub.s FRdest, FRsrc1, FRsrc2 Exception and Trap Instructions Return From Exception rfe System Call syscall Break break n No operation nop ASCII Code table and MIPS instruction set Page 7 of 7