None of the codes will work, since the last executed instruction is always CLR r29.t1 in the first code or SET r29.t1 in the second code. This will always clear or set the bit, independend from r0.t0.
Either use QBBS SENDHIGH, r0.t0 CLR r29.t1 JMP Finish SENDHIGH: SET r29.t1 Finish: But, does this simple solution don't work? MOV r29.t1, r0.t0 Am Sonntag, 22. Mai 2016 18:06:00 UTC+2 schrieb TJF: > > None of the codes will work, since the last executed instruction is always > CLR r29.t1 > in the first code or > SET r29.t1 > in the second code. This will always clear or set the bit, independend > from r0.t0. > > Either use > QBBS SENDHIGH, r0.t0 > CLR r29.t1 > JMP Finish > > SENDHIGH: > SET r29.t1 > > Finish: > > But, does this simple solution don't work? > MOV r0.t0, r29.t1 > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/614f7ac0-9a7f-4527-ab5d-09399f667318%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
