Hello,

I want to do something every simple in a tcl script, is there a way to extract 
the contents of register. If I do
> reg r1
r1 (/32): 0x94D3F5E8
>reg pc
pc (/32): 0xBFC00000
>reg r1 [expr [reg pc]] - to assign the contents of the pc to r1 it fails to do 
>so.
> reg r1
r1 (/32): 0x94D3F5E8

What am I overlooking here?

Thanks for your help,
Kent
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to