汇编:无法识别 32 位寄存器? [英] Assembly: 32 bit registers not recognized?

查看:51
本文介绍了汇编:无法识别 32 位寄存器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 32 位寄存器,因为我需要更大的最大整数值.当我尝试使用 EAX、EBX、ECX 或 EDX 时,TASM 显示 UNDEFINED SYMBOL.TASM 将寄存器作为变量读取.知道原因吗?我使用的是 DOSBOX 0.74 并在 Windows 7 64 位上运行.

I'm trying to use 32-bit registers since I need a bigger maximum integer value. When I try to use EAX, EBX, ECX, or EDX, the TASM says UNDEFINED SYMBOL. TASM is reading the registers as variables. Do know the reason why? I'm using the DOSBOX 0.74 and running on Windows 7 64 bits.

推荐答案

TASM 和 Borland Turbo Assembler 一样?如果旧的东西甚至知道 32 位寄存器,我会感到惊讶:-)

TASM as in Borland Turbo Assembler? I'd be surprised if something that old even knew about 32-bit registers :-)

TASM v5 来自大约 15 年前.

TASM v5 was from about 15 years ago.

根据记忆,有一个 TASM32(这可能是您的软件包的一部分)可以做到这一点,但我建议使用更现代的汇编程序,例如 nasm.

From memory, there was a TASM32 (this may be part of your package) which could do this but I'd suggest getting a more modern assembler, like nasm.

这篇关于汇编:无法识别 32 位寄存器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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