mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
21 lines
854 B
HTML
21 lines
854 B
HTML
<!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:surfsmurf@matilde.demon.co.uk">Carsten Sorensen</a></p>
|
|
</body>
|
|
</html>
|