Sha256: 1bb3efb2d6519d1315ec74c0e66427024b9fe3428c64d8780a779e53ff136b94

Contents?: true

Size: 650 Bytes

Versions: 7

Compression:

Stored size: 650 Bytes

Contents

Prism.languages.nasm={comment:/;.*$/m,string:/("|'|`)(\\?.)*?\1/gm,label:{pattern:/^\s*[A-Za-z\._\?\$][\w\.\?\$@~#]*:/m,alias:"function"},keyword:[/\[?BITS (16|32|64)\]?/m,/^\s*section\s*[a-zA-Z\.]+:?/im,/(?:extern|global)[^;]*/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/gi,alias:"variable"},number:/(\b|-|(?=\$))(0[hHxX][\dA-Fa-f]*\.?[\dA-Fa-f]+([pP][+-]?\d+)?|\d[\dA-Fa-f]+[hHxX]|\$\d[\dA-Fa-f]*|0[oOqQ][0-7]+|[0-7]+[oOqQ]|0[bByY][01]+|[01]+[bByY]|0[dDtT]\d+|\d+[dDtT]?|\d*\.?\d+([Ee][+-]?\d+)?)\b/g,operator:/[\[\]\*+\-\/%<>=&|\$!]/gm};

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyhyhy-1.0.0 lib/hyhyhy/structure/_includes/prism/components/prism-nasm.min.js
hyhyhy-0.0.9 lib/hyhyhy/structure/_includes/prism/components/prism-nasm.min.js
hyhyhy-0.0.8 lib/hyhyhy/structure/_includes/prism/components/prism-nasm.min.js
hyhyhy-0.0.7 lib/hyhyhy/structure/_includes/prism/components/prism-nasm.min.js
hyhyhy-0.0.6 lib/hyhyhy/structure/_includes/prism/components/prism-nasm.min.js
hyhyhy-0.0.5 lib/hyhyhy/structure/_includes/prism/components/prism-nasm.min.js
hyhyhy-0.0.4 lib/hyhyhy/structure/_includes/prism/components/prism-nasm.min.js