Posts by tunixbsd • 11 points
1 post
-
1
votes1
answer64
viewsQ: Specific element in an Assembly array in AVR
In the following paragraph: ldi r16,255 out IO(DDRB),r16 ldi r30,1 subi r30,lo8(-(array)) sbci r31,hi8(-(array)) ld r24,Z out IO(PORTB),r24 Why is there a -(array) within both lo8 and Hi8 ? And why…