Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;-------------------------------------------------------------------------------
- ; MSP430 Assembler Code Template for use with TI Code Composer Studio
- ;
- ;
- ;-------------------------------------------------------------------------------
- .cdecls C,LIST,"msp430.h" ; Include device header file
- CodeSeg .equ 0x4400
- DataSeg .set 0x3400
- .data
- Vdata .byte 3
- Wdata .word 10, -1
- Xdata .space 2
- Ydata .string "BA", "BY"
- Zdata .word 99h
- .text
- RESET1 mov.w #10,R4
- Copy mov.w #Vdata,R10
- mov.w #DataSeg,R11
- Loop dec.b R4
- jne Loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement