The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > General Programming > Assembly


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Tags:

Closed Thread
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 06-10-2007, 04:48 PM
josh_tadena
Posts: n/a
[SOLVED] What are the mnemonic symbols in assembly programming?

Example: MOV

And their definitions.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #2 (permalink)  
Old 06-10-2007, 04:49 PM
Crazy Engineer
Posts: n/a
Each mnemonic symbol transforms to a unique hex code or binary code i/p to the target processor designed to perform a specific function ex: ALU(Arithmetic logic unit of processor has a binary i/p to perform ADD instruction). Assembler does the job of converting these mnemonics into Hex code. For ex: Mov generates an opcode to perform an operation to move a value from one location to another. To read more on mnemonics look at 8085 and 8086 architectures and write some assembly code.
You need to convert these mnemonics into Hex code while entering your program in 8085 microprocessor kits. If you do handcoding atleast once you will know what a computer is and how it works just on 1's and 0's.
http://scitec.uwichill.edu.bb/cmp/online/el21c/lesson18.html
http://www.daniweb.com/techtalkforums/thread31178.html

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
  #3 (permalink)  
Old 06-10-2007, 04:52 PM
Innocence Redefined
Posts: n/a
Even though the instructions can be written in hexadecimal code, it's still difficult to understand a program written in hexadecimal numbers. So, each manufacturer of a microprocessor has devised a symbolic code for each instruction, called a 'mnemonic'. (In Greek, 'mnemonic' = mindful, i.e. memory aid). The mnemonic for a particular instruction consists of letters that suggest the operation to be performed by that instruction.

For example, as u've said 'MOV' command, say --
MOV A , B
Then it's hexcode is : 78(H)
That's in binary : 0111 1000
So, if u're dealing with 8085 simulator, then 78(H) command's mnemonic is 'MOV A,B' [that is the processor then realizes to move the 8-bit data from register-B to register-A.]

I've told u the example in case of 8085 microprocessor, coz we've done lab-experiments based on it so far.

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Closed Thread


Thread Tools
Display Modes

   Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 08:20 PM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50