title: What is $ in nasm assembly language?
body: <p>This is my assembly level code ...</p>
  
  <pre><code>section .text
  global _start
  _start  mov eax, 4
          mov ebx, 1
          mov ecx, mesg
          mov edx, size
          int 0x80
  exit:   mov eax, 1
          int 0x80
  section .data
  mesg    db      'KingKong',0xa
  size    equ     $-mesg
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>root@bt:~/Arena# nasm -f elf a.asm -o a.o
  root@bt:~/Arena# ld -o out a.o
  root@bt:~/Arena# ./out 
  KingKong
  </code></pre>
  
  <p>What is the $ in the line <code>size    equ     $-mesg</code>. Some one please explain the about the <code>$</code> symbol used ...</p>