forked from rxwei/x86-assembly-textmate-bundle
-
Notifications
You must be signed in to change notification settings - Fork 24
/
syntax_test_not_in_docs.nasm
37 lines (33 loc) · 1009 Bytes
/
syntax_test_not_in_docs.nasm
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
31
32
33
34
35
36
37
; SYNTAX TEST "Packages/User/x86_64 Assembly.tmbundle/Syntaxes/x86_64 Assembly.sublime-syntax"
%pragma
%pragma bluttan
%pragma bluttan blej
%pragma "Hej tomtegubbar"
%define PR asm foobar
%pragma PR
%pragma preproc
%pragma preproc tjo fidelittan preproc
%pragma dbg tjo fidelittan output
%pragma dbgdbg tjo fidelittan debug format
%pragma Dbg Tjo Fidelittan Output
%pragma Dbgdbg Tjo Fidelittan Debug Format
; opmask
VDIVPD zmm0{k1}{z}, zmm1, zmm3 ; conditional vector operation
; broadcasting
VDIVPS zmm4, zmm5, [rbx]{1to16} ; load single-precision float and
; embedded rounding
VCVTSI2SD xmm6, xmm7, {rz-sae}, rax ; round toward zero. note that it
; is used as if a separate operand.
; it comes after the last SIMD operand
mov eax,[nosplit eax] ; eax as base register
mov eax,[nosplit eax*1] ; eax as index register
{k7}
{z}
{rn-sae}
{ru-sae}
{rd-sae}
{rz-sae}
{1to8}
{1to16}
{sae}
{k1}