?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.     OPT --syntax=abfw
  2.         MODULE module1
  3. Fn1:        ret
  4.  
  5.             MODULE nestedModule
  6. ; check labels composing after MODULE
  7. .localWithoutNonLocal1:
  8. Fn1.n:          ldir
  9. .local1:
  10. @GlobalLabel1:
  11. .localAfterGlobal1:     ; should be <modules>.Global... according to docs (a bit illogical)
  12.             ENDMODULE
  13.  
  14.             MODULE nested.Invalid.Name
  15. Fn1.nin         cpl
  16.             ; ENDMODULE  (not needed, because the module was not created)
  17.  
  18.         ENDMODULE
  19.  
  20. ; check labels composing after ENDMODULE
  21. .localWithoutNonLocal2:
  22. NonLocal2:
  23. .local2:
  24.  
  25.         ; some error states
  26.         MODULE 1nvalid name
  27. Fn1nvalid:  daa
  28.         ENDMODULE
  29.  
  30.         MODULE missingEndModule
  31. Fn2:        nop
  32.