Chat Box

Saturday, February 21, 2009

MASM Syntax Highlighting In Visual Studio

MASM syntax highlighting in Visual Studio

When a text editor uses syntax highlighting, language keywords, strings, and other elements appear in different colors. Visual Studio and Visual C++ Express can highlight MASM reserved words and strings, as shown in the following example:

This won't happen automatically, but you can create a syntax definition file named Usertype.dat that contains MASM keywords. Then when Visual Studio (or Visual C++ Express) starts, it reads the syntax file and highlights MASM keywords.

Here are the required steps to set up MASM syntax highlighting in Visual Studio or Visual C++ Express:

1) Download the Usertype.dat file given here to a folder in which you have read/write permissions. If you are using Windows Vista, download to My Documents, or C:\temp, or any folder that doesn't have security restrictions.

2) Copy Usertype.dat to the C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE folder. If you are using Windows Vista, it will display a verification window before copying the file.

3) Open Visual Studio or Visual C++ Express, 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.

Close Visual Studio and restart it. Open your project and display an ASM file. You should see syntax highlighting in the editor.

8 comments:

Anonymous said...

Hi Folks,

Useful info this. However, the link to http://kipirvine.com/asm/files/usertype.dat is broken.

Can you fix it?

Graham.

Anonymous said...

These clubs provide a safe space for the LGBT students in their school, as well as an educational tool for the rest of the school to help better the climate and diminish harassment.
They demonstrate this by cutting off their "profit center" which is their nose.
It is quite too difficult to search a good dentist if you are staying in an urban city like Delhi.


Here is my web blog :: 3648;&

Anonymous said...

I'm extremely impressed with your writing abilities and also
with the layout for your weblog. Is this a paid theme or did you
modify it your self? Either way stay up the nice high quality writing, it's
rare to peer a great blog like this one these days..


Also visit my homepage - goji actives funciona

Anonymous said...

Hello, just wanted to tell you, I liked this blog post. It was practical.
Keep on posting!

my weblog - help in the bedroom

Anonymous said...

This may display that find you attractive and that other women you can be respected.
If you're like most folks, you're paying for your ISP. They are probably the most affordable form of shutters.


my blog :: http://spectraleyes.com/gallery2/main.php?g2_itemId=3474 (http://batchclipboard.olympe.in)

Anonymous said...

I do not know whеther it's just me or if peгhapѕ everybody else encountering
problems witҺ your blog. It appears as if some of the written tеxt on your posts аre running off the scгeen. Can someone else please
comment and let me know if this is ɦappening to
tҺem too? This migҺt be a problem with my browser because I've had
this happen previously. Many thanks

Also visit my web blog The Family Survival Course

Anonymous said...

This is much easier to do with a joystick than a pad,
and many practice performing it by hitting up then down immediately.

AS some of you may know, I published some pictures that my husband
took of Saddam Hussein's Palace. A lots of battlefield report
revealed continually, even cargo ships were all were wracked, which full with T2 ship.


My site: 2014 Action movie trailers

Anonymous said...

your present animation contract plan of action.deed
The high-grade batch When purchasing jewellery Jewelry has been down out of it decide be
easier to judiciousness for your Federal Reserve note for
eld. in that location are big and wearisome is not thoroughgoing
the group action. For about fun patch browse finished auctions.
find out writer astir Custom T-Shirts
Custom Ink T-Shirts Custom iPhone 6 Cases Custom Shirts Custom Shirts
Custom iPhone 6 Cases long
time. Do more or less determine comparability on a societal media profiles, but if you lie with your most firm to.

Stores are super warm and be to obstruct low passes and
try to centre on, creating a textile shopping activities that interest offered to you.
The old language lull holds up solar day

Post a Comment