68k Microprocessor Essay

Good Essays
is We will learn about 68k microprocessor in this assignment. In microprocessor Assembly language is used. Assembly language programming requires direct contact with the microprocessor. The 68000 microprocessor contains registers. Microprocessor picks up data from one of the registers for doing arithmetic or logical operation. Once the operation is over, it stores the result in a register. Data are usually loaded from memory to register. Similarly the resultant data will be loaded from registers to memory. eight Data registers D0 through D7. Data registers are general purpose. They may be thought of as 8 bit, 16 bit or 32 bit integer variables. There are eight Address registers A0 through A7. Address registers are 32 bits long.…show more content…
So you can learn from the examples given in the link given above. Easy68k screen is shown in the figure below. Fig (2) Easy68k screen Assembly language program consists of: labels - User created names that mark locations. opcode - Specific instructions. operands - Additional data required by some instructions. directives - Commands to the assembler. macros - A user created collection of source code that may be easily reused when writing a program. comments - User created strings of text used to document a program. When we write a program the first command will be START which is a label from where the assembler will start running a program. And the last instruction will be End where the assembler stop running the program. In between the Start and End there are specific instructions to perform the different operations. 4.Coding 5.Display Result Following are the display results for the
Get Access