Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .include "m328Pdef.inc"
- .org 0
- rjmp setup
- setup:
- ldi r16, 0
- ldi r17, 255
- out DDRB, r16
- out PORTB, r16
- rjmp loop
- loop:
- out PINB, r17
- rjmp loop
- C:\Users\######\My Documents\Dev\AVRAssembler\Debug>avr-size AVRAssemblerBlink.hex
- text data bss dec hex filename
- 0 16 0 16 10 AVRAssemblerBlink.hex
Advertisement
Add Comment
Please, Sign In to add comment