You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
3.0 KiB
HTML
71 lines
3.0 KiB
HTML
<html lang="en">
|
|
<head>
|
|
<title>Z8000-Regs - Using as</title>
|
|
<meta http-equiv="Content-Type" content="text/html">
|
|
<meta name="description" content="Using as">
|
|
<meta name="generator" content="makeinfo 4.7">
|
|
<link title="Top" rel="start" href="index.html#Top">
|
|
<link rel="up" href="Z8000-Syntax.html#Z8000-Syntax" title="Z8000 Syntax">
|
|
<link rel="prev" href="Z8000_002dChars.html#Z8000_002dChars" title="Z8000-Chars">
|
|
<link rel="next" href="Z8000_002dAddressing.html#Z8000_002dAddressing" title="Z8000-Addressing">
|
|
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
|
|
<!--
|
|
This file documents the GNU Assembler "as".
|
|
|
|
Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002,
|
|
2006, 2007 Free Software Foundation, Inc.
|
|
|
|
Permission is granted to copy, distribute and/or modify this document
|
|
under the terms of the GNU Free Documentation License, Version 1.1
|
|
or any later version published by the Free Software Foundation;
|
|
with no Invariant Sections, with no Front-Cover Texts, and with no
|
|
Back-Cover Texts. A copy of the license is included in the
|
|
section entitled ``GNU Free Documentation License''.
|
|
|
|
man end-->
|
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|
<style type="text/css"><!--
|
|
pre.display { font-family:inherit }
|
|
pre.format { font-family:inherit }
|
|
pre.smalldisplay { font-family:inherit; font-size:smaller }
|
|
pre.smallformat { font-family:inherit; font-size:smaller }
|
|
pre.smallexample { font-size:smaller }
|
|
pre.smalllisp { font-size:smaller }
|
|
span.sc { font-variant:small-caps }
|
|
span.roman { font-family: serif; font-weight: normal; }
|
|
--></style>
|
|
</head>
|
|
<body>
|
|
<div class="node">
|
|
<p>
|
|
<a name="Z8000_002dRegs"></a>Next: <a rel="next" accesskey="n" href="Z8000_002dAddressing.html#Z8000_002dAddressing">Z8000-Addressing</a>,
|
|
Previous: <a rel="previous" accesskey="p" href="Z8000_002dChars.html#Z8000_002dChars">Z8000-Chars</a>,
|
|
Up: <a rel="up" accesskey="u" href="Z8000-Syntax.html#Z8000-Syntax">Z8000 Syntax</a>
|
|
<hr><br>
|
|
</div>
|
|
|
|
<h5 class="subsubsection">9.33.2.2 Register Names</h5>
|
|
|
|
<p><a name="index-Z8000-registers-1711"></a><a name="index-registers_002c-Z8000-1712"></a>The Z8000 has sixteen 16 bit registers, numbered 0 to 15. You can refer
|
|
to different sized groups of registers by register number, with the
|
|
prefix <span class="samp">r</span> for 16 bit registers, <span class="samp">rr</span> for 32 bit registers and
|
|
<span class="samp">rq</span> for 64 bit registers. You can also refer to the contents of
|
|
the first eight (of the sixteen 16 bit registers) by bytes. They are
|
|
named <span class="samp">rl</span><var>n</var> and <span class="samp">rh</span><var>n</var>.
|
|
|
|
<pre class="smallexample"><br><em>byte registers</em><br>
|
|
rl0 rh0 rl1 rh1 rl2 rh2 rl3 rh3
|
|
rl4 rh4 rl5 rh5 rl6 rh6 rl7 rh7
|
|
|
|
<br><em>word registers</em><br>
|
|
r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15
|
|
|
|
<br><em>long word registers</em><br>
|
|
rr0 rr2 rr4 rr6 rr8 rr10 rr12 rr14
|
|
|
|
<br><em>quad word registers</em><br>
|
|
rq0 rq4 rq8 rq12
|
|
</pre>
|
|
</body></html>
|
|
|