title: how to print horizontally,vertically and diagonally in assembly language
body: <p>my code is this</p>
  
  <pre><code>debug
  a
  mov cx,000a
  mov ah,02
  mov dl,30
  int 21
  inc dl
  loop 0107
  mov dl,0a
  int 21
  mov dl,0d
  int 21
  mov cx,0009
  mov dl,20
  int 21
  mov dl,31
  int 21
  push dx
  mov dl,0a
  int 21
  pop dx
  inc dl
  loop 011e
  push dx
  mov dl,0a
  int 21
  mov dl,0d
  int 21
  pop dx
  mov cx,0009
  mov dl,31
  int 21
  push dx
  mov dl,0a
  int 21
  mov dl,0d
  int 21
  pop dx
  inc dl
  loop 0139
  int 20
  </code></pre>
  
  <p>Actual output <img src="https://i.stack.imgur.com/rNuF5.jpg" alt="output"></p>
  
  <p>desired output:</p>
  
  <p><img src="https://i.stack.imgur.com/zHU5h.png" alt="output should be like this"></p>