diff --git a/README.md b/README.md index 8f16a503f1..5cfc51a037 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ - [Building](#building) - [Guidelines](#guidelines) - [Usage Guidelines](#usage-guidelines) - - [Assembler ark\_asm](#assembler-ark_asm) - [Disassembler ark\_disasm](#disassembler-ark_disasm) - [Repositories Involved](#repositories-involved) @@ -70,32 +69,6 @@ $ ./build.sh --product-name hispark_taurus_standard --build-target ark_host_mac_ ### Usage Guidelines -#### 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. diff --git a/README_zh.md b/README_zh.md index 4fe0d37206..aa2836b8a0 100644 --- a/README_zh.md +++ b/README_zh.md @@ -6,7 +6,6 @@ - [编译构建](#编译构建) - [说明](#说明) - [使用说明](#使用说明) - - [汇编器工具概述](#汇编器工具概述) - [反汇编器工具概述](#反汇编器工具概述) - [相关仓](#相关仓) @@ -69,30 +68,6 @@ $ ./build.sh --product-name hispark_taurus_standard --build-target ark_host_mac_ ## 说明 ### 使用说明 -#### 汇编器工具概述 - -工具名称为ark\_asm,用于将文本格式的方舟字节码文件转换为二进制格式的方舟字节码文件。 - -命令行格式: - -``` -ark_asm [选项] 输入文件 输出文件 -``` - -| 选项 | 描述 | -|---------------|------------------------------------------------| -| --dump-scopes | 将结果保存到json文件中,以支持在VS Code中的debug模式 | -| --help | 帮助提示 | -| --log-file | 使能log打印后,指定log文件输出路径 | -| --optimize | 使能编译优化 | -| --size-stat | 统计并打印出转换后方舟字节码信息 | -| --verbose | 使能log打印 | -| --version | 打印版本信息,包括当前和所支持的最低的文件格式版本 | - -输入文件:文本格式的方舟字节码 - -输出文件:二进制格式的方舟字节码 - #### 反汇编器工具概述 工具名称为ark\_disasm,用于将二进制格式的方舟字节码文件转换为文本格式的方舟字节码文件。