|
-
Oct 9th, 2006, 11:35 AM
#4
Re: How do u figure out the 16 bit offset of a branch?
You're still counting the branch instruction itself. Don't. From the beq to the label it's three instructions (sub, addi, sw), i.e. three words, 12 (0xC) bytes.
If you want to know which you have to specify at the test, you'd best ask her.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|