Chapter 4: The Instruction Set Architecture - 10/31/2013 02:13:31 ...
Chapter 4: The Instruction Set Architecture - 10/31/2013 02:13:31 ...
Chapter 4: The Instruction Set Architecture - 10/31/2013 02:13:31 ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
4-16<br />
ARC Pseudo-Ops<br />
Pseudo-Op Usage Meaning<br />
<strong>Chapter</strong> 4: <strong>The</strong> <strong>Instruction</strong> <strong>Set</strong> <strong>Architecture</strong><br />
.equ X .equ #<strong>10</strong> Treat symbol X as (<strong>10</strong>) 16<br />
.begin .begin Start assembling<br />
.end .end Stop assembling<br />
.org .org 2048 Change location counter to 2048<br />
.dwb .dwb 25 Reserve a block of 25 words<br />
.global .global Y Y is used in another module<br />
.extern .extern Z Z is defined in another module<br />
.macro .macro M a, b, ...<br />
• Pseudo-ops are instructions to the assembler. <strong>The</strong>y are not part<br />
of the ISA.<br />
Principles of Computer <strong>Architecture</strong> by M. Murdocca and V. Heuring<br />
Define macro M with formal<br />
parameters a, b, ...<br />
.endmacro .endmacro End of macro definition<br />
.if .if Assemble if is true<br />
.endif .endif End of .if construct<br />
© 1999 M. Murdocca and V. Heuring