Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: REG ARM ASM

2005-03-30 by valdef78

--- In lpc2000@yahoogroups.com, "rockraj_2003" <rockraj_2003@y...> 
wrote:
> 
> Hello Charles,
> 
> Thank U!
> 
> I found another prob., but now the problem is to change to thumb 
mode.
> How to put the processor from ARM mode to THUMB mode by using ASM 
> COMMANDS.
> 
>     LDR          R0, =0xE002C000
>     MOV          R1, #10
>     STR          R1, [R0, #0]
>     LDR          R0, =0xE001400C
>     MOV          R1, #0
>     STR          R1, [R0, #0]
> 
> Kindly explain me the STATEMENT 
> 
>     STR          R1, [R0, #0]
> what it does.
> upto my knowledge i think it will store the value 0 to R0.
> 
> 
> Kindly exaplain me how to pu the processor in thumb mode.
> 
> with regds,
> Rajendra R

Hello, you should look here :
http://www.hitex.co.uk/arm/lpc2000book/index.html
that's a book about LPC from Hitex.. there's a free download.
there are some clear infos for beginning with LPC2100.
(I see something on page 18 for thumb/arm commutation..)

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.