473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Question from novice - what exactly is assembly?

Hi,

I am totaly novice in .NET and I am studying a book about this. There
was mentioned "assembly". I did not understand, how function does it has .
I would like to know the exact run of code (intermediate language and so
on). Is there any page on internet, which makes me clear?

Thanx

Jul 19 '05 #1
5 2325
Rae
assembly language I presume? Assembly language is not
something you learn. . . it is the code that the computer
runs in and it consists of 0's and 1's (Looks something
like 00100011100010101100101110001) 1's are on, and zero's
are off. It consists of 8 bits (binary units) that make up
a byte.

You don't really learn it, and you don't really need to.
All you need to know is that it is the language computers
talk in. With .Net, whatever language you program in, gets
converted to this assembly language so it can speak to any
type of computer. (Cross platform.)

Anyone else, please correct me if I am wrong.
-----Original Message-----
Hi,

I am totaly novice in .NET and I am studying a book about this. Therewas mentioned "assembly". I did not understand, how function does it has .I would like to know the exact run of code (intermediate language and soon). Is there any page on internet, which makes me clear?

Thanx

.


Jul 19 '05 #2
Assembly can mean 2 different thing.

The assembly language is what was refered to in the first response. However, the code below is actually machine code (the 0 and 1s). Machine code is
ultimately what will get run on the machine, regardless of what you actually program in. Assembly language is a slightly more anvanced language, but still very
very low level. You need to specify which register to put your numbers, then you can do ver y simple arithmatic like add. Assembly language (I believe) is
specific to the machine (or at least the chip); for instance I learned a little 8086 assembly in college. MSIL (microsoft intermediate language) is what your code is
compiled into when you build. It is low level like assembly. You can take a look at it using ildasm.exe. At runtime, the MSIL is converted into the machine code
that runs on the machine. Because this happens at run time, it can optimize some things that cannot be done if we were to compile in into machine code at the
beginning.

However, I an assembly has a different meaning in visual studio.net. An assembly is a unit of code; it is usually a dll or exe. I would just think of it as your dll or
exe, although it is possible(but not through the VS IDE, only through the command line tools) to have an assembly that is in multiple dlls. An assembly in the unit
that permission can be set on, and what you can access without adding a reference.

Hope this helps;
-Ed

--
Ed Smith, VBQA Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Content-Class: urn:content-classes:message
From: "Rae" <so*****@reimanpub.com>
Sender: "Rae" <so*****@reimanpub.com>
References: <us**************@tk2msftngp13.phx.gbl>
Subject: Question from novice - what exactly is assembly?
Date: Tue, 15 Jul 2003 11:46:36 -0700
Lines: 29
Message-ID: <03****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcNLAWuTiTcXhBTURNmtUxqVqCzy9A==
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:101246
NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.public.dotnet.general

assembly language I presume? Assembly language is not
something you learn. . . it is the code that the computer
runs in and it consists of 0's and 1's (Looks something
like 00100011100010101100101110001) 1's are on, and zero's
are off. It consists of 8 bits (binary units) that make up
a byte.

You don't really learn it, and you don't really need to.
All you need to know is that it is the language computers
talk in. With .Net, whatever language you program in, gets
converted to this assembly language so it can speak to any
type of computer. (Cross platform.)

Anyone else, please correct me if I am wrong.
-----Original Message-----
Hi,

I am totaly novice in .NET and I am studying a book about

this. There
was mentioned "assembly". I did not understand, how

function does it has .
I would like to know the exact run of code (intermediate

language and so
on). Is there any page on internet, which makes me clear?

Thanx

.


Jul 19 '05 #3
Rae napsal(a):
assembly language I presume? Assembly language is not
something you learn. . . it is the code that the computer
runs in and it consists of 0's and 1's (Looks something
like 00100011100010101100101110001) 1's are on, and zero's
are off. It consists of 8 bits (binary units) that make up
a byte.

You don't really learn it, and you don't really need to.
All you need to know is that it is the language computers
talk in. With .Net, whatever language you program in, gets
converted to this assembly language so it can speak to any
type of computer. (Cross platform.)

Anyone else, please correct me if I am wrong.
-----Original Message-----
Hi,

I am totaly novice in .NET and I am studying a book about


this. There
was mentioned "assembly". I did not understand, how


function does it has .
I would like to know the exact run of code (intermediate


language and so
on). Is there any page on internet, which makes me clear?

Thanx

.


Thanx Rae

Jul 19 '05 #4
Ed Smith[msft] napsal(a):
Assembly can mean 2 different thing.

The assembly language is what was refered to in the first response. However, the code below is actually machine code (the 0 and 1s). Machine code is
ultimately what will get run on the machine, regardless of what you actually program in. Assembly language is a slightly more anvanced language, but still very
very low level. You need to specify which register to put your numbers, then you can do ver y simple arithmatic like add. Assembly language (I believe) is
specific to the machine (or at least the chip); for instance I learned a little 8086 assembly in college. MSIL (microsoft intermediate language) is what your code is
compiled into when you build. It is low level like assembly. You can take a look at it using ildasm.exe. At runtime, the MSIL is converted into the machine code
that runs on the machine. Because this happens at run time, it can optimize some things that cannot be done if we were to compile in into machine code at the
beginning.

However, I an assembly has a different meaning in visual studio.net. An assembly is a unit of code; it is usually a dll or exe. I would just think of it as your dll or
exe, although it is possible(but not through the VS IDE, only through the command line tools) to have an assembly that is in multiple dlls. An assembly in the unit
that permission can be set on, and what you can access without adding a reference.

Hope this helps;
-Ed

Thanx Ed

Jul 19 '05 #5
Assuming its the assembly in .NEt that u r talking about .. its a very
simple concept as explained by Ed.
Follow this link to the MSDN site and let us know if u still have any
doubts ...

http://www.msdn.microsoft.com/librar...esoverview.asp

regards,
Soni
Jul 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

43
by: nospam | last post by:
I got three (3) files (1) Untitled.aspx (2) Untitled.aspx.1.cs (3) Untitled.aspx.2.cs These three files must be used together to make file #1, Untitled.aspx, page work via J.I.T. when the...
6
by: Dany | last post by:
hello, That script redirect to another site, but there is no <a href="... </a> command this code i have found in html source: <SCRIPT language="JavaScript"> o =...
5
by: Marian | last post by:
Hi, I am totaly novice in .NET and I am studying a book about this. There was mentioned "assembly". I did not understand, how function does it has . I would like to know the exact run of code...
6
by: ronwer | last post by:
Hello, The title doesn't completely cover the question I have, but it's a bit more complicated problem we have. We are using a database, based on Acces, but developed by a third party...
1
by: Katrin Tomanek | last post by:
Hi, I tried ioctl with SIOCGSTAMP in order to get a timestamp for a received tcp packet. I tried before and after reading on the socket. But always I get a ENOENT error. I googled for this...
24
by: Tiraman | last post by:
Hi, I Build my own dll with my own namespace name and i would like to put it in one place but for the project bin folder so all of the projects will be able to use it . i tried to put the dll...
3
by: Marty | last post by:
Hi, My main application is calling a couple of dll assembly that we made. I want to secure those dll assembly so they can't be used by a third party. I did a couple of test with on both...
4
by: Doug Handler | last post by:
Ok, I think this is my last one - in my app, the user can select via a dialog box the dll's they want to load. I use a checkbox to track this (no worries there), but, once a dll has been bound,...
10
by: dtmfcc | last post by:
My website is at www.simi-therapy.com My CSS is at http://www.simi-therapy.com/simitherapy-screen.css Question -- on the dark blue bar under the beach image, one change caused another...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.