Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Assembly Language Programming (ALP) Forum (http://www.go4expert.com/forums/assembly-language-programming-forum/)
-   -   ARM Assembly Subroutine (http://www.go4expert.com/forums/arm-assembly-subroutine-t3013/)

loneranger 14Feb2007 23:57

ARM Assembly Subroutine
 
Write six (6) ARM assembly language subroutines, called output_character, read_character, read_string,
output_string, uart_init, and substring_test. These subroutines will allow a user to use HyperTerminal to
enter data and the ARM processor to display data in HyperTerminal via the UART. All user-input should be
echoed back to the display. Your program will prompt the user to enter two strings, implement a simple test
to determine if the second string resides within the first, and then report the position of the second string in
the first (or a message indicating the second string does not reside in the first if that is the case). For example,
if the first string entered is microprocessor and the second is processor, the user should be told that processor
is located in position 5 of microprocessor. Similarly if the first string entered is reference_manual and the
second sting is book, the user should be informed that the book is not found in reference_manual. Note that
the user-entered strings are terminated by hitting Enter and the first position in the string is considered to be
position zero (0).


How do I do it??

DaWei 16Feb2007 19:38

Re: ARM Assembly Subroutine
 
This is not a homework factory. Pay attention in class. If you make a serious stab at it and post troublesome code here, people will be glad to try and help.


All times are GMT +5.5. The time now is 03:14.