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

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -