answersLogoWhite

0


Best Answer

7

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In Step 3 Developing Control's how many Macro Control Options are there?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Basic Math

Where do you get macros?

If you are looking out for macro options in MS Excel is available under tools menu. If you are looking for ready made macros, then there are plenty available on internet.


What is the definition of the word macro?

In computer terms, a macro is a way to automate a task that you perform repeatedly or on a regular basis. It's a series of commands and actions that can be stored and run whenever you need to perform the task. You can record or build a macro, and then play the macro to automatically repeat the series of commands or actions.


Difference between procedures and macros in 8086?

1.procedure does occuie minimum memory space than macro.2..overhead delay in macro is absent..3.in macro machine code is generated for instructions each time when it is called but in procedure machine code for instruction is put only once in the memory..4.proc is accessed by call and set instr ..macro is accessed with the name given..


What is the Spam check 4 plus 5 equals?

It is asking you to prove that you are a human, not a macro or bot trying to spam them with messages. Just do that math, and enter the number. In this case, the answer is 9.


What is the difference between macros and procedures in assembly language?

Macros and proceduresProcedureDefinition of procedureA procedure is a collection of instructions to which we can direct the flow of our program, and once the execution of these instructions is over control is given back to the next line to process of the code which called on the procedure.Procedures help us to create legible and easy to modify programs.At the time of invoking a procedure the address of the next instruction of the program is kept on the stack so that, once the flow of the program has been transferred and the procedure is done, one can return to the next lineof the original program, the one which called the procedure.Syntax of a ProcedureThere are two types of procedures, the intrasegments, which are found on the same segment of instructions, and the inter-segments which can be stored on different memory segments.When the intrasegment procedures are used, the value of IP is stored on the stack and when the intrasegments are used the value of CS:IP is stored.To divert the flow of a procedure (calling it), the following directive is used:CALL NameOfTheProcedureThe part which make a procedure are:Declaration of the procedureCode of the procedureReturn directiveTermination of the procedureFor example, if we want a routine which adds two bytes stored in AH and ALeach one, and keep the addition in the BX register:Adding Proc Near ; Declaration of the procedureMov Bx, 0 ; Content of the procedureMov B1, AhMov Ah, 00Add Bx, AxRet ; Return directiveAdd Endp ; End of procedure declarationOn the declaration the first word, Adding, corresponds to the name of outprocedure, Proc declares it as such and the word Near indicates to the MASMthat the procedure is intrasegment.The Ret directive loads the IP address stored on the stack to return to the original program, lastly, the Add Endp directive indicates the end of the procedure.To declare an inter segment procedure we substitute the word Near for theword FAR.The calling of this procedure is done the following way:Call AddingMacros offer a greater flexibility in programming compared to theprocedures, nonetheless, these last ones will still be used.MacrosDefinition of the macroA macro is a gro of repetitive instructions in a program which arecodified only once and can be used as many times as necessary.The main difference between a macro and a procedure is that in the macrothe passage of parameters is possible and in the procedure it is not, thisis only applicable for the TASM - there are other programming languageswhich do allow it. At the moment the macro is executed each parameter issubstituted by the name or value specified at the time of the call.We can say then that a procedure is an extension of a determined program,while the macro is a module with specific functions which can be used bydifferent programs.Another difference between a macro and a procedure is the way of callingeach one, to call a procedure the use of a directive is required, on theother hand the call of macros is done as if it were an assemblerinstruction.TOPSyntax of a MacroThe parts which make a macro are:Declaration of the macroCode of the macroMacro termination directiveThe declaration of the macro is done the following way:NameMacro MACRO [parameter1, parameter2...]Even though we have the functionality of the parameters it is possible tocreate a macro which does not need them.The directive for the termination of the macro is: ENDMAn example of a macro, to place the cursor on a determined position on thescreen is:Position MACRO Row, ColumnPUSH AXPUSH BXPUSH DXMOV AH, 02HMOV DH, RowMOV DL, ColumnMOV BH, 0INT 10HPOP DXPOP BXPOP AXENDMTo use a macro it is only necessary to call it by its name, as if it wereanother assembler instruction, since directives are no longer necessary asin the case of the procedures. Example:Position 8, 6Macro LibrariesOne of the facilities that the use of macros offers is the creation oflibraries, which are groups of macros which can be included in a programfrom a different file.The creation of these libraries is very simple, we only have to write afile with all the macros which will be needed and save it as a text file.To call these macros it is only necessary to use the following instructionInclude NameOfTheFile, on the part of our program where we would normallywrite the macros, this is, at the beginning of our program, before thedeclaration of the memory model.The macros file was saved with the name of MACROS.TXT, theinstruction Include would be used the following way:;Beginning of the programInclude MACROS.TXT.MODEL SMALL.DATA;The data goes here.CODEBeginning:;The code of the program is inserted here.STACK;The stack is definedEnd beginning;Our program ends

Related questions

In Step 3 of Developing Controls how many Macro Control Options are there?

There are seven Macro Control Options.


Which is NOT a Macro Control Option to consider when developing controls?

Accept


What are the controls of a camera?

The main control buttons are take picture, power, view, flash options, macro, toggle picture/ video etc, delete and more


Which are examples of Macro Control Options?

Reject, Transfer, Compensate


What are the differences of macros and control toolbox?

Macros and the Control Toolbox are completely different. Macros are for writing code to do automated tasks. The control toolbox has the controls you can put on your worksheet and forms, like buttons, drop down lists, text boxes, labels etc. You can assign a macro to a control, like having a button run a macro when it is clicked.


What is an example of a Macro Control Option?

cheese


What is a macro-scale climate control?

The macro scale climate control refers to various measures that are put in a large scale to control the climate. The measures might be to conserve the climate and prevent it from further degradation.


Definition of macro environment?

The definition of a macro environment is the outside factors that a company can not control. These factos can impact a company's bottom line or performance.


How do you activate a macro in an excel sheet when a cell equals a predefine value?

Use the control Worksheet_Change. See related links for a sample macro that will trigger a macro when the cell changes. Modify, as needed, to fit your specific situation.


What control provides an easy way to initiate a command or run a macro?

The Command Button...


Why is it important to monitor the macro-environment of a firm?

It is very important to monitor the macro-environment of a firm as they will directly affect the organization. These are external factors that a firm will not have control over and will affect the performance of the business.


What is the difference between executing a macro and calling a macro?

Calling a macro loads the macro into memory, while executing the macro runs the macro.