Computer Architecture

Submitted by: Submitted by

Views: 63

Words: 645

Pages: 3

Category: Science and Technology

Date Submitted: 08/18/2014 08:21 PM

Report This Essay

A macro processor is a program that copies a stream of text from one place to another, making a systematic set of replacements as it does so. Macro processors are often embedded in other programs, such as assemblers and compilers. Sometimes they are standalone programs that can be used to process any kind of text.

A macro is a section of code that the programmer writes (defines) once, and then can use many times. Macro stored in memory once (just one copy),

Macros involve two separate phases.

Handling the definition and Handling the expansions.

A macro can only be defined once but it can be expanded many times. Handling the definition is a relatively simple process. The assembler reads the Definition from the source files and saves it in a special table, the Macro Definition Table (MDT). The assembler does not try to check the definition for errors, to assemble it, execute it, or do anything else with it.

Macro processors have been used for language expansion (defining new language constructs that can be expressed in terms of existing language components), for systematic text replacements that require decision making, and for text reformatting (e.g. conditional extraction of material from an HTML file).

Micro Process:

A microprocessor -- also known as a CPU or central processing unit -- is a complete computation engine that is fabricated on a single chip. The microprocessor is the heart of any normal computer, whether it is a desktop machine, a server or a laptop.

Microprocessors are used to realize general purpose computers.

A microprocessor is a discrete digital component that processed data input according to the & quot; instruction set& quot; the processor is designed to use for making decisions.

Your PC has a motherboard with the microprocessor at the heart of it with a host of support components necessary for the processor to work.

A microcontroller is basically a micro-computer, which included a microprocessor and a minimum...