title: While in x86-64 assembly
body: <p>I am trying to create while with a assembler to it should simply check if m > n and give out a text or increase a num</p>
  
  <pre><code>section .data
          numb: db "Enter a number: "
  
  section .bss
  
  section .text
  
          global _start:
  _start:
          mov rax, 4
          mov rbx, 1
          mov rcx, 5
          cmp rdx, 7
          ja
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <pre><code>section .data
          numb: db "Enter a number: "
  
  section .bss
  
  section .text
  
          global _start:
  _start:
          mov rax, 4
          mov rbx, 1
          mov rcx, numb
          cmp rcx, 7
          ja
  </code></pre>
  
  <p>I use 64 bit registers. But I don't know how it is possible because an assembler don't have a while statement  so we have to use the cmp and jump above but now stuck here</p>