title: MSP430 Assembly move contents of .data section to reserved space in address label
body: <pre><code>            .data
  Vdata       .byte 7
  Wdata       .word 10,-1
  Xdata       .space      2
  Ydata       .string "BA", "BY"
  Zdata       .word 99h
  
              .sect "mysect"
  Dest        .space      14
  </code></pre>
  
  <p>mysect is a section i have created assigned to the memory location 0x3400. I have created this space of 14 bytes inside of it. What I want to do is to move all the contents of the address labels declared above (Vdata to Zdata) to the 14 bytes space. Here is what I have tried:</p>
  
  <pre><code>            mov.b   Vdata, Dest
              mov.w   Wdata, Dest
              mov.w   Xdata, Dest
              mov.w   Ydata, Dest
              mov.w   Zdata, Dest
  </code></pre>
  
  <p>It only however updates the start of the memory location (0x3400).</p>
  
  <p>UPDATE: I have tried other solutions but it does not work. I was wondering if someone had the code on how to perform what I need to do(move all values in the address labels to the space in mysect section).</p>