answersLogoWhite

0

What are processors and macros?

User Avatar

Anonymous

13y ago
Updated: 4/26/2023

Ans. A macro is similar to a subroutine (or a procedure), but there are important

Differences between them. A subroutine is a section of the program that is written

Once, and can be used many times by simply calling it from any point in the program.

Similarly, a macro is a section of code that the programmer writes (defines) once, and then can use many times. The main difference between a subroutine and a

Macro is that the former is stored in memory once (just one copy), whereas the

Latter is duplicated as many times as necessary. 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, toassemble it, execute it, or do anything else with it.

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).

User Avatar

Bill Klocko

Lvl 10
2y ago

What else can I help you with?

Related Questions

Why do you use macros?

Macros are used to automate repetative tasks.


Why you use macros?

Macros are used to automate repetative tasks.


How you run the macros into Microsoft Excel?

You can open the Macros section and run macros from there. The quickest way to do that is press Alt - F8. You can also run macros by clicking on buttons or other objects that you have assigned them to.


How do you get Macros to work on newer versions of Excel?

There can be many reasons why your macros are not working. Check security settings to ensure your version of Excel has macros enabled. Many times, the default installation disables the ability to use macros. Ensure you accept security certificates for the author of the macros.


How do you run VB in Microsoft Excel?

You can do it by creating macros and then editing the macros. The macros or set of code can be applied to a button. It will depend on the version of Excel you have, but you can usually start creating macros or writing code through the Tools menu.


Do word processor support macros?

Some word processor support macros, some does not.


How do you get rid of macros from a document?

To remove macros from a document, open the file in the appropriate application (like Microsoft Word or Excel), then access the "Developer" tab or "View" tab, depending on the software. From there, select "Macros," and you can choose to delete the individual macros or disable macros entirely. Additionally, you can save the document in a different format (such as .docx for Word), which typically strips away any macros. Always ensure to keep a backup of the original document before making changes.


What does macros have been disabled mean?

"Macros have been disabled" typically refers to a security feature in software applications, particularly in Microsoft Office programs like Word or Excel, that prevents the execution of macros—small programs or scripts that automate tasks within the application. This message appears when a document containing macros is opened, signaling that the macros won't run unless explicitly enabled by the user. Disabling macros protects against potentially harmful code that could compromise system security. Users can enable macros if they trust the source of the document.


Where can you download macros?

You do not really download macros, but you can get lists of code to create your own macro. There are many locations you can find if you search for "sample excel macros." You will find some examples at the related links.


Where can i download a runescape woocutting macro?

Don't use macros jagex can detect all macros and you will be permanently band


Different types of macros in assembler?

Types of macros In general, there are two types of macros: ExecutiveThese macros generate either code or data that is incorporated into the program being assembled.Generally, an executable instruction is generated.DeclarativeThese macros produce information used by the assembly process while generating code.z/TPF system programs use a large set of macro instructions to generate linkages or to simply generate inline code. Many of these macros are restricted to system programs because the macros are subject to change in future releases and represent an unprotected interface. A macro with an unprotected interface is called a system macro. Because some z/TPF system programs run in the application execution environment, some of the system macros also generate SVC linkages.


What is Macros in access?

Answer the question, i need the answer..