title: hack assembly program to blacken the screen
body: <p>So, I am reading the book The elements of computing systems (and doing the course). I am trying to write a hack assembly program to blacken the screen. Here is what I've got.</p>
  
  <pre><code>@16384
  D=A
  @current
  M=D
  
  @24576
  D=A
  @end
  M=D
  
  @current
  D=M
  
  (BEGIN)
  @end
  D=M-D
  
  @END
  D;JEQ
  @current
  D=M 
  A=M
  M=1
  A=A+1
  D=A
  @current
  M=D
  
  @BEGIN
  0;JMP
  
  (END)
  @END
  0;JMP
  </code></pre>
  
  <p>Some pixels are appearing, but a) extremely slowly and b) it doesn't appear like the whole screen is being filled. Is there a way to improve the code?</p>