Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;
- ; program04.asm
- ;
- ; Created: 1/24/2019 10:39:10 AM
- ; Author : 5935512030 Ismael hama
- ;
- ; Replace with your application code
- .include"m328Pdef.inc"
- .def var_a = R16
- .def var_b = R17
- .def var_c = R18
- .cseg
- .org 0x00
- rjmp RESET
- RESET: ldi var_b,2
- ldi var_c,4
- mul var_b,var_c
- mov var_a,R0
- END: rjmp END
- .dseg
- .eseg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement