title: Change background and foreground color using x86 Assembly
body: <p>I am trying to change the background and foreground color of the screen using x86 assembly but its not working:</p>
  
  <pre><code>mov ax,0
  mov al,11101100b
  int 10h
  ret
  </code></pre>
  
  <p>As far as I know, the code is correct. Am I doing something wrong? I previously tried this code:</p>
  
  <pre><code>mov ax, 0600h
  mov bh, 11110000b
  mov cx, 0000h
  mov dx, 1010h
  int 10h
  </code></pre>
  
  <p>but it made a small white rectangle on the corner of the screen and covered some text. </p>