shithub: rgbds

ref: 998cfe1bdd35229fa4623b543645c1bcfd462b88
dir: /doc/asm/ds.htm/

View raw version
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>xAsm DS</title>
        <link rel="stylesheet" type="text/css" href="../style.css">
</head>
<body>
<h1>DS</h1>
<p><dfn>DS</dfn> allocates a number of bytes. The content is undefined. This is the preferred method of allocationg space in a <a href="section.htm">RAM section</a>. You can however also use DB and DW without any arguments.</p>
<pre>DS   str_SIZEOF     ;allocate str_SIZEOF bytes</pre>
<h1>See also:</h1>
<ul>
	<li><a href="db.htm">Defining constant data (DB/DW)</a>
	<li><a href="expr_int.htm">Integer and Boolean expressions</a>
</ul>
<hr>
<p>Last updated 02 July 1997 by <a href="mailto:[email protected]">Carsten Sorensen</a></p>
</body>
</html>