[ixp1200] question about br_bset
Yong Liu
tamu_ly at hotmail.com
Wed Nov 19 18:01:54 EST 2003
Hello, everybody
I encounter a problem when I debug my microace code.
I really don't know how to solve this weird problem.
In following code:
scratch[read, $l0197!entry4, l0196!tmp2, l0196!tmp, 1],
ctx_swap
alu[l0196!entry_hashed, --, b, $l0197!entry4]
nop
nop
nop
br_bset[l0196!entry_hashed, 7, m335_not_found1#]
I read a value from scratch pad, i.e. entry4
the value is 0xff when I debug
so the br_bset instruction should branch to m335_not_found1#.
Howerver, it branch to 1980(not exists, totally 1000 instructions in my
code).
And the microengine stop there.
Anyone knows why this happened?
Thanks a lot!
Yong Liu
More information about the ixp1200
mailing list