Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Question about Program counter
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
118 subscribers
Views
5512 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Question about Program counter
Camp Phor
over 12 years ago
Note: This was originally posted on 1st October 2012 at
http://forums.arm.com
[size=2]Hey[/size]
[size=2]Can someone please explain why instructions that modify the value of the PC (such as branches or [/size]
[size=2]mov pc, lr[/size]
[size=2]) requireadditional clock cycles to execute than those who don't operate on the PC. [/size]
[size=2]
does branch link modify the value of PC or LR?
[/size]
[size=2]
[/size]
[size=2]
thanks
[/size]
Parents
Camp Phor
over 12 years ago
Note: This was originally posted on 2nd October 2012 at
http://forums.arm.com
[size=2]awesome, thanks heaps.[/size]
[size=2] [/size]
[size=2]I've actually got heaps of questions i would like to ask...haha[/size]
[size=2][size=2][size=2]What does the [/size][size=2]rsb [/size][size=2]instruction do? we'll i know what it does but don't fully understand why we would use rsb rather than sub...?[/size][/size][/size]
[size=2][size=2][size=2] [/size][/size][/size]
[size=2][size=2][size=2]could someone give an example of an expression that would require the use of rsb rather than sub?[/size][/size][/size]
[size=2][size=2][size=2] [/size][/size][/size]
[size=2][size=2][size=2]thanks heaps~[/size][/size][/size]
Cancel
Vote up
0
Vote down
Cancel
Reply
Camp Phor
over 12 years ago
Note: This was originally posted on 2nd October 2012 at
http://forums.arm.com
[size=2]awesome, thanks heaps.[/size]
[size=2] [/size]
[size=2]I've actually got heaps of questions i would like to ask...haha[/size]
[size=2][size=2][size=2]What does the [/size][size=2]rsb [/size][size=2]instruction do? we'll i know what it does but don't fully understand why we would use rsb rather than sub...?[/size][/size][/size]
[size=2][size=2][size=2] [/size][/size][/size]
[size=2][size=2][size=2]could someone give an example of an expression that would require the use of rsb rather than sub?[/size][/size][/size]
[size=2][size=2][size=2] [/size][/size][/size]
[size=2][size=2][size=2]thanks heaps~[/size][/size][/size]
Cancel
Vote up
0
Vote down
Cancel
Children
No data