![]() |
|
|
|
| ||||||
|
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: |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |
| |||
| 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 |
| |||
| 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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |