![]() ![]() (A conditional branch takes one instruction and acts as a NOP if not taken, but if there is a branch, it takes 4 cycles. What we care about is the code for lfsr_step there’s a lot going on there! Excluding the return, we’ve got 27 instructions that take 29 cycles worst-case mov.d is a double-word move that takes two cycles, and all the other instructions take one cycle each, except for branches and jumps if taken. The efficiency of the lfsr_init function doesn’t matter much to us, since it will just be called once. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |