Re: ARM Assembler Help Requested... Message #5 Posted by Bill Zimmerly on 13 May 2010, 2:20 p.m., in response to message #4 by cyrille de Brébisson
Hi Cyrille!
Here is the exact string:
"CODE
% SMALL ARM LAUNCHER
SAVE
GOSUB SKIPCODE
% INSERT ARM CODE HERE
!ARM
% TEST CODE - RETURN ONLY
MOV PC,LR
!ASM
*SKIPCODE
A=PC
A=A-4.A
C=RSTK
ACEX.A
D0=C % END OF BLOCK
C=C-A.A % NIBBLES TO COPY
D1=(2) 0 % ALIGN
MOVEUP
CD1EX
ARMSAT
LOADRPL
ENDCODE
@"
(Everything between the double-quote marks.)
Also, Cyrille, do you know of any ARM code more advanced than the simple examples presented in the AUR Manual? I would really like to know how to do I/O with the keyboard, display, and serial port with ARM code - but haven't been able to find anything at all on this.
- Bill
|