Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions doc/syntax.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Nov 10
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Dec 12


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -859,17 +859,23 @@ Apache の構文ファイルは Apache HTTP サーバーのバージョン 2.2.3
"asm" には使用するアセンブリ言語の種類を指定する。

同じ拡張子を使用しているアセンブリ言語はたくさんある。そのため、ユーザーは自分
が使っている種類を選択するか、もしくはアセンブリファイルそのものにVimがそれと
判断できるような行を追加しなければならない。現在は以下の構文ファイルが利用可能:
asm GNUアセンブラ(デフォルト)
asm68k モトローラ680x0アセンブラ
asmh8300 日立H-8300用GNUアセンブラ
ia64 インテルItanium 64
が使っている種類を選択するか、もしくはアセンブリファイルそのものに Vim がそれ
と判断できるような行を追加しなければならない。現在は以下の構文ファイルが含まれ
ている:
asm GNU アセンブラ (通常は .s または .S 拡張子を持ち、GCC
や CLANG などの C コンパイラを使用してすでにビルドされ
ている)
asm68k モトローラ 680x0 アセンブラ
asmh8300 日立 H-8300 用 GNU アセンブラ
ia64 インテル Itanium 64
fasm Flat アセンブラ (http://flatassembler.net)
masm マイクロソフトアセンブラ(たぶん80x86汎用)
masm マイクロソフトアセンブラ (.masm ファイルは Microsoft の
マクロアセンブラでコンパイルされる。これは x86, x86_64,
ARM, AARCH64 CPU ファミリでのみサポートされる)
nasm ネットワイドアセンブラ
tasm ターボアセンブラ(80x86,Pentium,MMXの命令コードを含む)
pic PICアセンブラ(現在はPIC16F84用)
tasm ターボアセンブラ (80x86, Pentium, MMX の命令コードを含
む)
pic PIC アセンブラ (現在は PIC16F84 用)

アセンブリファイルに次のような行を書き加えるのが一番柔軟である: >
asmsyntax=nasm
Expand Down
9 changes: 6 additions & 3 deletions en/syntax.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*syntax.txt* For Vim version 9.1. Last change: 2024 Nov 10
*syntax.txt* For Vim version 9.1. Last change: 2024 Dec 12


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -883,12 +883,15 @@ There are many types of assembly languages that all use the same file name
extensions. Therefore you will have to select the type yourself, or add a
line in the assembly file that Vim will recognize. Currently these syntax
files are included:
asm GNU assembly (the default)
asm GNU assembly (usually have .s or .S extension and were
already built using C compiler such as GCC or CLANG)
asm68k Motorola 680x0 assembly
asmh8300 Hitachi H-8300 version of GNU assembly
ia64 Intel Itanium 64
fasm Flat assembly (http://flatassembler.net)
masm Microsoft assembly (probably works for any 80x86)
masm Microsoft assembly (.masm files are compiled with
Microsoft's Macro Assembler. This is only supported
for x86, x86_64, ARM and AARCH64 CPU families)
nasm Netwide assembly
tasm Turbo Assembly (with opcodes 80x86 up to Pentium, and
MMX)
Expand Down
Loading