⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 apcsnot.html

📁 关于ARM汇编的非常好的教程
💻 HTML
字号:
<!doctype html public "-//W3C//DTD HTML 3.2//EN"><html><head><title>Writing a non-APCS program with the DDE</title><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><meta http-equiv="content-language" content="en" /><meta name="resource-type" content="document"><meta name="copyright" content="This document copyright 2001 by Richard Murray. Use for non-profit and education purposes explicitly granted."><meta name="author" content="Richard Murray"><meta name="rating" content="general"></head><!--  /assembler/apcsnot.html            --><!--                                     --><!--  (C) Copyright 2001 Richard Murray  --><!--  Designed by Richard Murray         --><!--  rmurray@heyrick.co.uk              --><!--                                     --><body bgcolor="#f0f0f0" text="#000000" link="#0022dd" vlink="#002288"><table border = "0" width="100%">  <tr>    <td align=center width=100>      <img src="arm3.gif" width=79 height=78 align = middle>    </td>    <td>      <h1 align="center"><font color="#800080">Writing a non-APCS program <br>with the DDE</font></h1>    </td>    <td align=center width=100>      <img src="arm3.gif" width=79 height=78 align = middle>    </td></table><p>&nbsp;<p>If you are writing a pure assembler program, then you do not <i>have</i> to follow APCS for<i>objasm</i> to assemble it.<pre>  AREA |my$$code|, CODE, READONLY  ENTRYR0  RN 0R14 RN 14PC  RN 15  MOV  R0, #255loop  SWI  1 ; OS_WriteS  DCB  "Alyson! ", 0  SUBS R0, R0, #1  BNE  loop  MOV  PC, R14  END</pre>That is a really tiny program. <i>objasm</i> will compile it, and if you tell link to output aBinary file (basically an 'app' without the AIF header), then you'll have a program 32 byteslong:<pre>   &yuml;[00] &atilde;[01][00][00]&iuml;Alyson! [00][00][00][00][01][00]P&acirc;&ugrave;&yuml;&yuml;[1a][0e]&eth; &aacute;</pre><hr size = "3"><a href="index.html#08">Return to assembler index</a><hr size = "3"><address>Copyright &copy; 2001 Richard Murray</address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -