Sha256: 91f45844e200ef5eed8988f3e6f64131cca7941e2c36b4fb3626168d06a517bb

Contents?: true

Size: 647 Bytes

Versions: 6

Compression:

Stored size: 647 Bytes

Contents

Prism.languages.nasm={comment:/;.*$/m,string:/("|'|`)(\\?.)*?\1/m,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (16|32|64)\]?/m,{pattern:/(^\s*)section\s*[a-zA-Z\.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/im,/(?:CPU|FLOAT|DEFAULT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(bp|sp|si|di)|[cdefgs]s)\b/i,alias:"variable"},number:/(\b|-|(?=\$))(0[hx][\da-f]*\.?[\da-f]+(p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|\d*\.?\d+(\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/};

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
highlighting-0.1.4 vendor/assets/javascripts/prism-nasm.min.js
prism-rails-1.5.0 vendor/assets/javascripts/prism-nasm.min.js
highlighting-0.1.3 vendor/assets/javascripts/prism-nasm.min.js
highlighting-0.1.2 vendor/assets/javascripts/prism-nasm.min.js
highlighting-0.1.1 vendor/assets/javascripts/prism-nasm.min.js
highlighting-0.1.0 vendor/assets/javascripts/prism-nasm.min.js