Blame view

bower_components/prism/tests/languages/nasm/keyword_feature.test 672 Bytes
eb240478   Luigi Serra   public room cards...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  BITS 16 BITS 32 BITS 64

  [BITS 16] [BITS 32] [BITS 64]

  

  section Foo.bar

  section foobar:

  

  extern _printf

  global _main

  

  CPU 8086

  FLOAT DAZ

  DEFAULT REL

  

  ----------------------------------------------------

  

  [

  	["keyword", "BITS 16"], ["keyword", "BITS 32"], ["keyword", "BITS 64"],

  	["keyword", "[BITS 16]"], ["keyword", "[BITS 32]"], ["keyword", "[BITS 64]"],

  	["keyword", "section Foo.bar"],

  	["keyword", "section foobar:"],

  	["keyword", "extern _printf"],

  	["keyword", "global _main"],

  	["keyword", "CPU 8086"],

  	["keyword", "FLOAT DAZ"],

  	["keyword", "DEFAULT REL"]

  ]

  

  ----------------------------------------------------

  

  Checks for keywords.