Visual studio 2022高亮汇编(ASM)语法方法

Visual studio 2022高亮汇编(ASM)语法方法

1)下载usertype.zip,解压,解压后的文件是usertype.dat。

2) 关闭vs2022.

3) 复制Usertype.zip 到vs2022安装路径 C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE.

在复制前,windows会发出确认信息。

4) 打开VS2022,选择工具菜单中的"选项 ",选择文本编辑器 ,选择文件扩展名 。在键入asm 文件作为扩展名,Editor 选择 Microsoft Visual C++ ,然后点击添加

5)重启 Visual studio 2022

select Options from the Tools menu, select Text Editor , and select File Extension.

On the right side of the dialog (shown below), enter asm as the extension, select Microsoft Visual C++ from the Editor list, and click the Add button. Click the OK button to save your changes.

Open your project and display an ASM file. You should see syntax highlighting in the editor. There is a glitch in the highlighting--assembly language comment line starts start with a semicolon, which C++ doesn't recognize. But this is a simple workaround: add an extra // right after the semicolon, like this, which will cause the comments to appear in their usual green color:

;// AddTwo.asm - adds two 32-bit integers.

;// Chapter 3 example

相关推荐
qq_3692243314 天前
Windows全系通用!ntdll.dll文件丢失、报错、闪退问题的完整排查与修复教程
windows·dll·dll修复·dll丢失·dll错误
摇滚侠14 天前
IDEA 创建 Java 项目 手动整合 SSM 框架
java·ide·intellij-idea
霸道流氓气质14 天前
Trae IDE 新手入门指南
ide
阿米亚波14 天前
【Windows】QEMU 启动 openEuler aarch64/arm64 架构系统 + 离线软件源
linux·windows·经验分享·笔记·架构·arm
caimouse14 天前
Reactos 第 10 章 网络操作 — 10.3.1 NIC驱动
网络·windows
初圣魔门首席弟子14 天前
Node.js 详细介绍(知识库版)
windows·qt·node.js·知识库
爱就是恒久忍耐14 天前
VSCode里如何比较2个branch
ide·vscode·编辑器
CHENG-JustDoIt14 天前
AI工具 | 爆火开源项目Odysseus AI 工作台:从项目介绍、部署情况及其使用等多方位分析指南(含详细步骤)
大数据·人工智能·windows·python·ai·开源·github
kingbal14 天前
Windows:flutter环境搭建
windows·flutter
未若君雅裁14 天前
Python 数据容器详解,list、tuple、str、set、dict 到底怎么选
windows·python·list