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

Delphi change the assembly code of a running process -

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

C++ 11 "class" keyword -