Basic language support for assembly in DOS environment. may be suitable for studying MASM/TASM in DOSBox or courses like principles& peripheral technology of microprocessor.
Formate Codes | Diagnose |
---|---|
The extension offers some language features like "hover","formate","jump to definition" as language id assembly
.
You can also use other extension for Assembly language Support, for example language ID asm-collection
by installing extension ASM Code Lens.
using TASM via DOSBox | using MASM via msdos-player |
---|---|
when you are editing assembly
files ,you can right click at the editor panel,then you will see several choices listed below:
masmtasm.ASM.mode
as single file
. The extension will copy your file to a seperate space in your machine to keep your workspace Folder clean.masmtasm.ASM.mode
as workspace
and keep your files' names follow the emulator's limitation.
include <filename>
for example, the <filename>
should be the relative path to your workspace FolderThe extension depend on vscode-dosbox for intergration with DOS emulator. It has packaged all binary files for windows system.
Follow its doc for installing emulator like DOSBox in other system.
The extension will mount some folder to DOSBox 's disk.
in DOSBox | real path in the computer |
---|---|
C: | the path of tools folder |
D: | the path of the work space |
.com
filesYou can change the command to exec in setting masmtasm.ASM.actions
.
For example, if you want to compile your code to .com
, you can add a setting like this.
And set masmtasm.ASM.assembler
to its key TASM-com
"masmtasm.ASM.actions": {
"TASM-com": {
"baseBundle": "<built-in>/TASM.jsdos",
"before": [
"set PATH=C:\\TASM"
],
"run": [
"TASM ${file}",
"TLINK /t ${filename}",
"${filename}"
],
"debug": [
"TASM /zi ${file}",
"TLINK /t/v/3 ${filename}.obj",
"TD ${filename}.exe"
]
}
}
"masmtasm.ASM.assembler":"TASM-com"
According to VSCode-doc, the extension will be installed in following folder:
%USERPROFILE%\.vscode\extensions
~/.vscode/extensions
~/.vscode/extensions
Enjoy!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。