title: Give Space on new line in assembly language
body: <p>I am new to assembly language. I am given this task to write code for the following output:</p>
  <p>Q) Write down the assembly code of following output using Only One Macro definition</p>
  <pre><code>My name is xxxxx
   My rollnumber is yyyyy
     What is Your name
  </code></pre>
  <p>So far what I have done is printing these strings, but i am not getting these spaces in the beginning of string.</p>
  <p>My code rn:</p>
  <pre><code>display macro data    
      
      mov ah,9                    
      lea dx,msg1                 
      int 21h
      
      mov ah,9                    
      lea dx,msg2                 
      int 21h 
      
      mov ah,9                    
      lea dx,msg3                 
      int 21h  
      
  endm
  
  .model small
  .stack 100h     
  
  .data 
  
   msg1 db &quot;My name is Adeena Lathiya $&quot; 
   msg2 db 0ah,0dh, &quot;My roll number is SE-009 $&quot;
   msg3 db 0ah, 0dh, &quot;What is Your name $&quot;   
   
  .code
   main proc
      
         mov ax,@data
         mov ds,ax 
         
         display data
         
         main endp
   end main
  </code></pre>
  <p>and this displays the output as:</p>
  <pre><code>My name is xxxxx
  My rollnumber is yyyyy
  What is Your name
  </code></pre>
  <p>please tell me how to add spaces in the beginning of the strings</p>