Will Visual Stuido Enrich MSIL coding?

P

Phill

Will Visual Studio Enrich MSIL coding? I can't find any environment or
templates or MSIL coding in VS? Can someone explain the situation please?
 
M

Mr Newbie

Not quite sure what you were expecting in VS. Are you expecting to be able
to code directly in MSIL using VS ?
 
F

Frank Eller

Hi Phill,

Will Visual Studio Enrich MSIL coding? I can't find any environment or
templates or MSIL coding in VS? Can someone explain the situation please?

No, there's no Integrated Environment for IL-Code. And as far as I know
there will never be. IL is not a programming language - you should consider
using C# oder VB.NET instead.

Regards,

Frank Eller
 
K

Kevin Spencer

Actually, you *can* edit IL in Visual Studio (or NotePad), and even compile
it. And IL *is* a programming language; hence the "L".

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.
 
P

Phill

Kevin I know how to build MSIL and manually passing the CL syntax to ILASM,
but can I build within VS and how? If it's too much to reply, can you at
least point me in right direction, please.

I can imagine microsoft already have their dev team with all the features
for MSIL coding in VS, etc.
 
M

Mr Newbie

There is also a MSIL Coding manual somewhere on MSDN because i've used it to
solve arguments in the newsgroups before. I cant remember where it it, but
it is around there somewhere.

--
Best Regards

The Inimitable Mr Newbie º¿º
 
P

Phill

I don't have a problem with the language, I have a problem as I want
dedicated tools. I was hoping someone would know or know of a way to get
Visual Studio to do what it should be able to do with MSIL.
 
L

Lloyd Dupont

I don't have a problem with the language, I have a problem as I want
dedicated tools. I was hoping someone would know or know of a way to get
Visual Studio to do what it should be able to do with MSIL.
uh?
what does it "should" do with MSIL?

but you could always use notepad, what's the problem? what's wrong with
Notepad?
 
M

Mr Newbie

The only reasons I can think of that you would care about MSIL is when you
are writing a compiler, you are trying to understand how a line of code
compiles or you are trying to assess the most efficient use of the comipler
language in terms of code vs speed etc.

Other than that, apart from trying to become some sort of IL Jedi, I really
cant think why you would need to worry about it for most of the time.

Hey, here is a project just waiting to be written; Why doesent the OP write
his own code editor ( Using MSIL as the source ) or better still, screw
MSIL, Screw Assembler, just write the damn .exe in machine code using a
pencil, eraser, a bunch of programming sheets and a about a billion hours of
coding time.

--
Best Regards

The Inimitable Mr Newbie º¿º

------------------
 
K

Kevin Spencer

The article tells how to get Visual Studio.Net to compile MSIL. As for any
coding help, Intellisense, etc., I don't believe that exists.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.
 
T

Tom Dacon

Hey, here is a project just waiting to be written; Why doesent the OP
write his own code editor ( Using MSIL as the source ) or better still,
screw MSIL, Screw Assembler, just write the damn .exe in machine code
using a pencil, eraser, a bunch of programming sheets and a about a
billion hours of coding time.

Hey now, be nice. That's how some of us actually used to do it back in the
day.

Tom Dacon
Dacon Software Consulting
who created his first computer program in 1962
 
M

Mr Newbie

Good Heavens Mr Dacon, do you think I'm a neo-luddite or worse?

The first code I ever wrote was in machine code when I designed an E-Prom
programmer by using a bastardised printer with some jury rigged power up for
blowing it during the programming cycle, all controlled by the Texas
Instruments TTL circuits we used to use back then, a three to eight line
decoder if I remember correctly ad 74137 to decode the IO Address on T5.

I remember debugging stack errors on the toilet; that was when I was even
more dedicated than I am now. And no jokes about Dumping or Popping my
accumulator please.

I wrote my own rudimentary assembler for it to target the 8080 and Z80
processors (This was when I was only qualified in electronics).

So when I have a pop, it's an educated pop. !

Chin Chin . . .

The Inimitable Mr Newbie º¿º
 
P

Phill

Yeah, Intellisense is what I'm mainly after.

Kevin Spencer said:
The article tells how to get Visual Studio.Net to compile MSIL. As for any
coding help, Intellisense, etc., I don't believe that exists.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
A watched clock never boils.
 
R

Richard Grimes

Kevin said:
Actually, you *can* edit IL in Visual Studio (or NotePad), and even
compile it. And IL *is* a programming language; hence the "L".

Well, if you consider editing bytes in a binary file programming then I
guess you are right. However, the language itself is IL *assembler*,
which is converted into IL by ilasm.exe. IL is the .NET 'machine code'.
Yes I know that the name is confusing, but I didn't chose it.

For those interested, Serge Lidin's book for Microsoft Press "Inside
..NET IL Assembler" is the best place to start, with Bock's book for
Apress coming second place.

Richard
 
P

Phill

IL is placed into a Microsoft-PE, it's never native x86 code in a 100%
managed PE file. IL is only converted to native code at the time it's
needed by the OS and that is performed by the JIT engine.

IL has its own opcodes but it's more abstract than x86 assembly in that it's
stored with the source constructs. x86 code is taken to the binary level
when compiled from say masm language.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top