Basic Macro Processor Function, Machine Independent Macro Processor Function, Macro Processor Function Design Option
Basic Macro Processor Function, Machine Independent Macro Processor Function, Macro Processor Function Design Option
Basic Macro Processor Function, Machine Independent Macro Processor Function, Macro Processor Function Design Option
INTRODUCTION
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. 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)
1
MACHINE INDEPENDENT MACRO PROCESSOR FUNCTION
The term is not for the most part connected to the procedure of adjusting
programming to keep running with less memory on the same CPU and working framework,
nor is it connected to the modifying of source code in an alternate dialect (i.e. dialect change
or interpretation). Software developers frequently assert that the product they compose is
compact, implying that little exertion is expected to adjust it to another environment (Wang,
Sun, & Sun, 2011). The measure of exertion really required relies on upon a few variables,
including the degree to which the first environment (the source stage) varies from the new
environment (the objective stage), the experience of the first creators in knowing which
programming dialect develops and third party library calls are unrealistic to be compact, and
the measure of exertion put by the first creators in just utilizing convenient builds (stage
particular develops regularly give a less expensive arrangement) (Huang, Li, & Xie, 2015).
2
It is likewise conceivable to avoid the era of machine code by really executing the
virtual machine in machine code (Mathur, Miles, & Du, 2015). This virtual machine usage is
called a mediator, in light of the fact that it peruses in the intermediate code guidelines one by
one and after every read executes the proportionate machine code successions (the
translation) of the read halfway guideline straightforwardly. Composing the compiler sources
completely in the programming dialect the compiler should interpret, makes the
accompanying methodology, otherwise called compiler bootstrapping, possible on the
objective machine (Rhrich, & Welfonder, 2014):
Port the translator. This should be coded in get together code, utilising an
officially display constructing agent on the objective.
Adapt the source of the code generator to the new machine.
Execute the adjusted source utilizing the translator with the code generator source
as data. This will produce the machine code for the code generator.
CPU DESIGN
3
Memory components such as register files, caches
Clock circuitry such as clock drivers, plls, clock distribution networks
Pad transceiver circuitry
Logic gate cell library which is used to implement the logic
CONCLUSION
CPUs designed for high-performance markets might require custom designs for each
of these items to achieve frequency, power-dissipation, and chip-area goals whereas CPUs
designed for lower performance markets might lessen the implementation burden by
acquiring some of these items by purchasing them as intellectual property. Control logic
implementation techniques (logic synthesis using CAD tools) can be used to implement
datapaths, register files, and clocks. Common logic styles used in CPU design include
unstructured random logic, finite-state machines, microprogramming (common from 1965 to
1985), and Programmable logic arrays (common in the 1980s, no longer common).
REFERENCES
https://en.wikipedia.org/wiki/General-purpose_macro_processor
http://jhyeh.csie.au.edu.tw/courses/AU.SP.2006/course.SP.xml
http://www.powershow.com/view/133f6b-
ZDVjY/Machine_Independent_Macro_Processor_Features_Concatenation_of_Ma
cro_Parameters_Generation_of_Unique_powerpoint_ppt_presentation
http://iete-elan.ac.in/subjects/amSystemSoftware.htm
https://en.wikipedia.org/wiki/Machine-independent_software
https://en.wikipedia.org/wiki/Processor_design