?login_element?

Subversion Repositories NedoOS

Rev

Rev 126 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. ; SYNTAX option "i":
  2. ;   i      Case insensitive instructions/directives (default = same case required)
  3.  
  4. ; verify regular syntax works as expected with default options
  5.     jp  Label1 : JP  Label1     ; regular syntax - instruction
  6.     align 4 : ALIGN 4           ; regular syntax - directive
  7.     Jp  Label1 : jP  Label1     ; 2x error - instruction
  8.     Align 4 : aLiGN 4           ; 2x error - directive
  9.  
  10.     OPT --syntax=i      ; test the syntax options "i"
  11. Label1:
  12.     Jp  Label1 : jP  Label1     ; instructions should be case insensitive
  13.     Align 4 : aLiGN 4           ; directives too
  14.  
  15.     OPT reset           ; reset syntax to defaults
  16.     Jp  Label1                  ; error - instruction
  17.