Google Answers Logo
View Question
 
Q: ARM Assembly - LDRB instruction ( No Answer,   0 Comments )
Question  
Subject: ARM Assembly - LDRB instruction
Category: Computers > Programming
Asked by: michaelcraig-ga
List Price: $10.00
Posted: 28 Feb 2006 09:49 PST
Expires: 30 Mar 2006 09:49 PST
Question ID: 701901
The assembler that I am using for one of my classes is limited because
it's just a java simulation, and it's not able to handle all
instructions.
It's limited to:

ADD | ADDS |			<register>, <register>, <register>
SUB | SUBS			<register>, <register>, #<literal>

MUL					<register>, <register>, <register>

LDR | STR				<register>, <label>
					<register>, [<register>], #<literal>

MOV | MVN				<register>, <register>
					<register>, #<literal>

BEQ | BNE |			<label>
BGT | BLT | BAL


Pseudo Instructions

LDR  Rn, DATAIN
STR  Rn, DATAOUT
EXIT
MEMDUMP
REGDUMP

I'm trying to create a selection sort with just that. From all of our
examples, we use LDRB - which is not supported by the simulator. I
also needed ADR but found:

LDR R2, POINTER
...
POINTER DCD NUM1

or 

ADD Rd, R15, #offset

was equivalent.

Think anyone can help me with LDRB?
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy