Remove assembler tool usage instructions

Signed-off-by: wuhailong <wuhailong22@huawei.com>
Change-Id: Id5b82a55e78ca88820d2211b99240492c1732d76
This commit is contained in:
wuhailong 2023-10-30 19:23:58 +08:00
parent a4bf4a7323
commit 40d208229e
2 changed files with 0 additions and 52 deletions

View File

@ -6,7 +6,6 @@
- [Building](#building)
- [Guidelines](#guidelines)
- [Usage Guidelines<a name="section1312121216216"></a>](#usage-guidelines)
- [Assembler ark\_asm](#assembler-ark_asm)
- [Disassembler ark\_disasm](#disassembler-ark_disasm)
- [Repositories Involved<a name="section1371113476307"></a>](#repositories-involved)
@ -70,32 +69,6 @@ $ ./build.sh --product-name hispark_taurus_standard --build-target ark_host_mac_
### Usage Guidelines<a name="section1312121216216"></a>
#### Assembler ark\_asm
The ark\_asm assembler converts the text ARK bytecode file into a bytecode file in binary format.
Command:
```
ark_asm [Options] Input file Output file
```
Supported options:
| Option | Description |
|---------------|----------------------------------------------------------------------------------------------|
| --dump-scopes | Save the result to a JSON file to support the debug mode in Visual Studio Code. |
| --help | Display help information. |
| --log-file | Specify the log file output path after log printing is enabled. |
| --optimize | Enable compilation optimization. |
| --size-stat | Collect statistics and print ARK bytecode information after conversion. |
| --verbose | Enable log printing. |
| --version | Print version info, including file format version and minimum supported file format version. |
Input file: ARK bytecodes in text format
Output file: ARK bytecodes in binary format
#### Disassembler ark\_disasm
The ark\_disasm disassembler converts binary ARK bytecodes into readable text ARK bytecodes.

View File

@ -6,7 +6,6 @@
- [编译构建](#编译构建)
- [说明](#说明)
- [使用说明<a name="section1312121216216"></a>](#使用说明)
- [汇编器工具概述](#汇编器工具概述)
- [反汇编器工具概述](#反汇编器工具概述)
- [相关仓<a name="section1371113476307"></a>](#相关仓)
@ -69,30 +68,6 @@ $ ./build.sh --product-name hispark_taurus_standard --build-target ark_host_mac_
## 说明
### 使用说明<a name="section1312121216216"></a>
#### 汇编器工具概述
工具名称为ark\_asm用于将文本格式的方舟字节码文件转换为二进制格式的方舟字节码文件。
命令行格式:
```
ark_asm [选项] 输入文件 输出文件
```
| 选项 | 描述 |
|---------------|------------------------------------------------|
| --dump-scopes | 将结果保存到json文件中以支持在VS Code中的debug模式 |
| --help | 帮助提示 |
| --log-file | 使能log打印后指定log文件输出路径 |
| --optimize | 使能编译优化 |
| --size-stat | 统计并打印出转换后方舟字节码信息 |
| --verbose | 使能log打印 |
| --version | 打印版本信息,包括当前和所支持的最低的文件格式版本 |
输入文件:文本格式的方舟字节码
输出文件:二进制格式的方舟字节码
#### 反汇编器工具概述
工具名称为ark\_disasm用于将二进制格式的方舟字节码文件转换为文本格式的方舟字节码文件。