News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Code View not working

Started by Ravi Kiran, December 27, 2019, 04:50:38 PM

Previous topic - Next topic

Ravi Kiran

Sir I've deliberately installed 32-bit version of Windows 7 Operating
System to Study what's going on in a Computer and to study Assembly Language. But I'm encountering some problems while
Doing so. The MASM611's CV.EXE Executable is not working directly in cmd.exe which comes with Windows 7. But it works through
DosBox-0.74. Can anyone tell me how to resolve this issue.

I'm sorry to remind you sirs I'm a student and beginner of Assembly
language. I'm beginning it from 16-bit DOS programming. You may joke about me for using 32-bit version of Windows even though now-a-days processors are 64-bit. I can install a 64-bit version of Windows
in a different Storage Device alongside 32-bit Windows 7 but a 64-bit Windows does not Natively support a
16-bit DOS Application. That's why I've deliberately installed a 32-bit
Version of Windows 7 for studying about paging and memory management features of IA-32 Architecture through Windows.
Because a 32-bit Windows supports exactly 4GB of Flat Address
Space installing a 4GB of Physical RAM is easy. For a 64-bit Windows
Mapping a linear Address space to Physical RAM Addressing is very
Complex because a 64-bit Address space can address up to 2^64
Bytes and who could install a 2^64 bytes Physical RAM. Any how I'm
Absolutely new to Memory mapping and Paging features in Intel
Processors as of now.

You may joke about me for using a 32-bit Windows but I don't feel angry about that.

As far as CV.EXE is concerned 'not working' means. I'll explain it below.

At the command prompt when I type CV.EXE as shown below
C:\>MASM611\BIN\CV.EXE
it either returns to C:\>MASM611\BIN\ without displaying anything or
Sometimes it displays an external Windows message displaying
"The NTVDM.EXE has stopped unexpectedly".


jj2007

Hi Ravi,

Welcome to the Forum :thup:

Please define "is not working directly": Does it run at all? Do you get error messages?

avcaballero

cv is a 16 bit tool, that is not supported by W7

aw27

Windows 32-bit support 16-bit applications.


avcaballero

Ok, 16 bits applications are not supported by at least my W7 64 bits in my laptop and don't know if there is anything that allows to do so  :toothy:

avcaballero

I'm sorry, this reminds me a joke:   :bgrin:

Quote
An astronomer, a physicist and a mathematician who were traveling on a train through Scotland saw a mottled cow in the middle of a field by the window. "How interesting," said the astronomer, "all Scottish cows are mottled." Upon hearing it, the physicist responded. "No!, Some Scottish cows are mottled." Upon hearing what they said, the mathematician said reproachfully "In Scotland there is at least one field that contains at least one cow, which has at least one mottled side."

hutch--

Give up on the old 16 bit CodeView, it was a great debugger in 16 bit real mode but will not work in 32 or 64 bit protected mode. For Win32, get a modern debugger that is compatible with 32 bit Windows protected mode.

HSE

Quote from: caballero on December 28, 2019, 12:11:36 AM
Ok, 16 bits applications are not supported by at least my W7 64 bits in my laptop and don't know if there is anything that allows to do so  :toothy:

Apparently, in 7-32 bits depends on program screen mode.
Equations in Assembly: SmplMath

aw27

Windows 32-bit OS are rare these days, like Indians in America. We conserve 32-bit OS in reserves called virtual machines to prove that Codeview works in them.

HSE

Quote from: AW on December 28, 2019, 12:38:21 AM
Windows 32-bit OS are rare these days.

Where you found that data?

Thanks in advance.
Equations in Assembly: SmplMath

aw27

Quote from: HSE on December 28, 2019, 01:09:53 AM
Quote from: AW on December 28, 2019, 12:38:21 AM
Windows 32-bit OS are rare these days.

Where you found that data?

Thanks in advance.

This is a consensus (what I mean is that I will not search the web for you in this regard) and values are in the order of 97% or more for Windows 64-bit OS. If you disagree, please prove they are wrong.

HSE

Quote from: AW on December 28, 2019, 01:24:45 AM
This is a consensus...
Consensus is a political agreement, not necessarily related with true.

Some web sites have statics of OS access, but I don`t know if are published somewhere.
Equations in Assembly: SmplMath

aw27

Quote from: HSE on December 28, 2019, 01:44:03 AM
Consensus is a political agreement
No, no, there are also consensus about anthropogenic climate changes. Remember?

HSE

Quote from: AW on December 28, 2019, 02:43:05 AM
Quote from: HSE on December 28, 2019, 01:44:03 AM
Consensus is a political agreement
No, no, there are also consensus about anthropogenic climate changes. Remember?

:biggrin: It's same case!! Claim consensus to hide lack of facts.
Equations in Assembly: SmplMath

aw27

Not only consensus but also common sense.  :biggrin:
But you may be right, who knows? Microsoft does not publish statistics about that and our data is mostly obtained from internet browsers.  :badgrin:
But don't forget that virtually all hardware is 64-bit ready. What sense does it make to install a 32-bit OS on that hardware when it can run both 64-bit and 32-bit software?