assembly - Simpler way to write the following instructions? -



assembly - Simpler way to write the following instructions? -

hey guys next code:

brbc 4, method brbs 2, method

what easier , more mutual way of writing in avr assembly?!

sreg t h s v n z c.

so want branch if s cleared , or n set.

s = n xor s, s cleared if n , v, or not n , not v. is, if result positive or zero.

n set when result negative.

so want branch always.

jmp method

assembly avr

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -