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

Php operator `break` doesn't stop while -

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

vim: Search & replace -