title: How to declare and manipulate an array of Strings in 8086 assembly language?
body: <p>I am working in emu8086 version 4.08. I have to make a student database. So, if I want to store a list of names or ID in an array of strings how can I do it? or is there any other way? Thanks in advance.</p>
  
  <p>Here is the code I am trying:                                 </p>
  
  <pre><code>include 'emu8086.inc' 
  
  .model small
  .stack 100h  
  
  
  .data  
  
  
    str2 dw 20 dup('$')
  
  .code   
  
    mov ax,@data
    mov ds,ax
  
  main proc
  
  
  
    mov si,0
  
  
  
  
  
    mov str2[si],"student1$"
    add si,1  
  
    mov str2[si],"student2$"
    add si,1
  
    mov str2[si],"student3$"
    add si,1
  
    mov str2[si],"student4$"
  
  
  
  mov ah,4ch 
  int 21h               
  
  endp main 
  
  
  DEFINE_SCAN_NUM
  DEFINE_PRINT_STRING
  DEFINE_PRINT_NUM
  DEFINE_PRINT_NUM_UNS  
  DEFINE_PTHIS
  </code></pre>