473,903 Members | 6,147 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2379
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 001000111000101 01100101110001) 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*****@reiman pub.com>
Sender: "Rae" <so*****@reiman pub.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: AcNLAWuTiTcXhBT URNmtUxqVqCzy9A ==
Newsgroups: microsoft.publi c.dotnet.genera l
Path: cpmsftngxa06.ph x.gbl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.genera l:101246
NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.publi c.dotnet.genera l

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 001000111000101 01100101110001) 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 001000111000101 01100101110001) 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
2706
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 User first hits Internet Explorer 6.0 on your browser.
6
2394
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 = '0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e,0x20,0x3d,0x20,0x27,0x68,0x74,0x74, 0x70,0x3a,0x2f,0x2f,0x77,0x77,0x77,0x2e,0x74,0x72,0x61,0x76,0x65,0x6c,0x77,0
5
390
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 (intermediate language and so on). Is there any page on internet, which makes me clear? Thanx
6
3446
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 developer who sells it under his own name. So, functionally it's a very specific database for a specific purpose. Now we want to make certain changes in this database, but for reasons of
1
3484
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 problem and I read some answers like "SIOCGSTAMP might not work with TCP". Can anybode affirm this ? Or can you imagine any other reason why I get
24
1485
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 in this place ----> c:\MyDlls\Test.dll And i wrote in my aspx file the following <%@ Import Namespace="Test.MyClass"%>
3
1432
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 side, caller and dll assembly, but does not succeed to secure the assembly. (myKey.snk is gnerated with 'sn -k myKey.snk')
4
1383
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, how can i make sure that during the session that a dll can't be bound twice? I'm assuming there's "protection" w/i the reflection process to stop this, (if so, is there an exception that is thrown? ), if not, what can i do to stop this from...
10
1819
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 unanticipated one, and I can't seem to figure it out. I added the phrase "...an association of independent practitioners", and with some help, got it to align to the right. But now, the blue bar is taller by about the height of the text than I want it to...
0
9848
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10986
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10501
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
8049
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5894
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4727
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4308
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3324
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.