readme

来自「一些ARM的源程序」· 代码 · 共 23 行

TXT
23
字号
The examples within the explasm directory show various techniques which may 
be useful when writing assembler code.  

Example utoa1.s shows Integer to String Conversion, but also shows use of 
the stack and a recursive function.  This example also uses files udiv10.s 
and utoatest.c (and optionally utoa.apj)

Example divc.c generates assembler code for dividing by a constant. One 
sample of this generated code is used in testing the above utoa1.s example.

Example random.s shows an assembler routine for generating pseudo-random 
numbers.  This example also uses the file randtest.c to test the example 
and optionally the file rantest.apj to build the example.

Example bytedemo.c shows how byte order reversal can be achieved in just 
four instructions.


1      utoa1.s - Integer to String Conversion

This example shows how to:

⌨️ 快捷键说明

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