?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. ; this source will be assembled twice, once coming from STDIN, second time as regular file
  2. ; and each time it will also include itself as include file (so 6x times assembled)
  3.  
  4.     IFNDEF  __ALREADY_INITIALIZED__
  5.         DEFINE __ALREADY_INITIALIZED__
  6.         OUTPUT "stdinWithAsm.bin"
  7. x = 0
  8.     ENDIF
  9.  
  10.     IFNDEF __INCLUDED__
  11.         DEFINE __INCLUDED__
  12.         INCLUDE "stdinWithAsm.asm"
  13.         UNDEFINE __INCLUDED__
  14.     ENDIF
  15.  
  16. x = x+1
  17.  
  18.     DB x
  19.