如何在Visual Basic中运行asm文件 [英] how to run asm files in visual basic

查看:162
本文介绍了如何在Visual Basic中运行asm文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在制作另一个程序,我希望它运行asm程序.我不知道如何运行asm文件.我知道如何读写asm文件,但我不知道如何在控制台应用程序中实际运行文件.你能帮我么?我将在asm中为您提供示例代码来运行:

或100小时
use16

mov ah,09
mov dx,消息
int 21h

mov ah,01
int 21h
mov ah,4ch
int 21h

message db``Hello World'',0ah,``$''

hey guys,

i am making another program and i want it to run asm programs. i don''t know how to run the asm files. i know how to read/write the asm files, but i don''t know how to actually run the files in a console application. can you please help me? i will give you an example code in asm to run:

or 100h
use16

mov ah, 09
mov dx, message
int 21h

mov ah, 01
int 21h
mov ah, 4ch
int 21h

message db ''Hello World'', 0ah, ''$''

推荐答案

''


您需要获取自己的汇编程序副本,将其转换为目标代码并将其链接到可执行程序中.您可以使用Microsoft的C ++编译器来完成此操作,但是我不确定VB.尝试 Visual C ++ Express [
You need to get yourself a copy of an Assembler that will convert this into object code and link it into an executable program. You can do it with Microsoft''s C++ compiler but I''m not sure about VB. Try Visual C++ Express[^] or Google for "assembler".


这篇关于如何在Visual Basic中运行asm文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆