# Simple looping test # Branches are aligned on 4 instr boundary, so are branch targets # # # ADDIMM 1 0 0 10 FALSE -- add r1,r0,#10 -- loop counter ADDIMM 2 0 0 25 FALSE -- add r2,r0,#25 -- ADDIMM 3 0 0 50 FALSE -- add r3,r0,#50 -- ADDIMM 4 0 0 60 FALSE -- add r4,r0,#60 -- BEQ 0 1 0 8 FALSE -- beq r1,r0, +8 SUBIMM 1 1 0 1 FALSE -- sub r1,r1,#1 ADDREG 2 2 3 0 FALSE -- add r2,r2,r3 ADDIMM 4 4 0 2 FALSE -- add r4,r4,#2 BRA 0 0 0 -4 FALSE -- jmp -4 ADDIMM 5 0 0 10 FALSE -- add r5,r0,#10 ADDIMM 0 0 0 0 FALSE -- nop ADDIMM 0 0 0 0 FALSE -- nop ADDIMM 6 0 0 60 FALSE --branch target ADDIMM 7 0 0 70 FALSE -- ADDIMM 8 0 0 80 FALSE -- ADDIMM 9 0 0 90 TRUE -- <div align="center"><br /><script type="text/javascript"><!-- google_ad_client = "pub-7293844627074885"; //468x60, Created at 07. 11. 25 google_ad_slot = "8619794253"; google_ad_width = 468; google_ad_height = 60; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><br /> </div>