title: MOV Instruction for Registers
body: <p>So I am running _asm with C++ using Visual Studio. </p>
  
  <p>So I am new to assembly programming, I am following a textbook and know that the general register EAX holds 32 bits and AX is 16 with AL, AH being low/high.</p>
  
  <p>So how would I move multiple commands using only the MOV instruction. I tried doing </p>
  
  <pre><code>MOV AL, 'a', 'c' , 'e'
  </code></pre>
  
  <p>but I get illegal amount of operands. Thats only 3 so shouldn't AL be able to hold that value? </p>
  
  <p>I tried after doing</p>
  
  <pre><code>MOV EAX, 0
  MOV AL, 'a', 'c' , 'e'
  </code></pre>
  
  <p>So how would I move three different values or even more like 12 letters to 8 bit? Shouldn't me moving 0 to eax clear out both the low and high of the 8 bit allowing those 3 variables to be moved?? I only want to use 8-bit register to move multiple values into it, in this case which is 3. Also I like to know how to do more like 12 letters into 8 Bit. I read you would make MOV EAX, 0 but I had no luck.</p>
  
  <p>Note: This isn't the full program, I only included the problem with MOV.</p>
  
  <pre><code>#include "stdafx.h"
  #include "stdio.h"
  #include &lt;iostream&gt;
  
  using namespace std;
  using std::cout;
  using std::cin;
  
  
  int main(void)
  {
  
      char test
      _asm
      {
          MOV EAX, 0
          MOV AL, 'a', 'c' , 'e'
      }
  }
  </code></pre>