1<html lang="en"> 2<head> 3<title>Characters - Using as</title> 4<meta http-equiv="Content-Type" content="text/html"> 5<meta name="description" content="Using as"> 6<meta name="generator" content="makeinfo 4.13"> 7<link title="Top" rel="start" href="index.html#Top"> 8<link rel="up" href="Constants.html#Constants" title="Constants"> 9<link rel="next" href="Numbers.html#Numbers" title="Numbers"> 10<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 11<!-- 12This file documents the GNU Assembler "as". 13 14Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 152000, 2001, 2002, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, 16Inc. 17 18Permission is granted to copy, distribute and/or modify this document 19under the terms of the GNU Free Documentation License, Version 1.3 20or any later version published by the Free Software Foundation; 21with no Invariant Sections, with no Front-Cover Texts, and with no 22Back-Cover Texts. A copy of the license is included in the 23section entitled ``GNU Free Documentation License''. 24 25--> 26<meta http-equiv="Content-Style-Type" content="text/css"> 27<style type="text/css"><!-- 28 pre.display { font-family:inherit } 29 pre.format { font-family:inherit } 30 pre.smalldisplay { font-family:inherit; font-size:smaller } 31 pre.smallformat { font-family:inherit; font-size:smaller } 32 pre.smallexample { font-size:smaller } 33 pre.smalllisp { font-size:smaller } 34 span.sc { font-variant:small-caps } 35 span.roman { font-family:serif; font-weight:normal; } 36 span.sansserif { font-family:sans-serif; font-weight:normal; } 37--></style> 38<link rel="stylesheet" type="text/css" href="../cs.css"> 39</head> 40<body> 41<div class="node"> 42<a name="Characters"></a> 43<p> 44Next: <a rel="next" accesskey="n" href="Numbers.html#Numbers">Numbers</a>, 45Up: <a rel="up" accesskey="u" href="Constants.html#Constants">Constants</a> 46<hr> 47</div> 48 49<h4 class="subsection">3.6.1 Character Constants</h4> 50 51<p><a name="index-character-constants-140"></a><a name="index-constants_002c-character-141"></a>There are two kinds of character constants. A <dfn>character</dfn> stands 52for one character in one byte and its value may be used in 53numeric expressions. String constants (properly called string 54<em>literals</em>) are potentially many bytes and their values may not be 55used in arithmetic expressions. 56 57<ul class="menu"> 58<li><a accesskey="1" href="Strings.html#Strings">Strings</a>: Strings 59<li><a accesskey="2" href="Chars.html#Chars">Chars</a>: Characters 60</ul> 61 62 </body></html> 63 64